Nik0s Δημοσ. 3 Αυγούστου 2010 Δημοσ. 3 Αυγούστου 2010 Χρησιμποιω ττο ακολουθο mod_rewrite rule: RewriteEngine OnRewriteCond %{REQUEST_FILENAME} -fRewriteRule ^/?(.+\.html) /cgi-bin/index.py?page=$1= [L,PT][/Code] to address a visitors url request to my webpage like that => http://webville.gr/index.html Now due to changes to my cgi python script i have to address something like the following: http://webville.gr/index.html?variable=value and for that reason i tried the following rule [Code]RewriteEngine OnRewriteCond %{REQUEST_FILENAME} -fRewriteRule ^/?(.+\.html)(\?(.*))? /cgi-bin/index.py?page=$1&$3 [L,PT,NE][/Code] but unfortunately it doesnt work and i knwo it because when from within the python script i try to: if form.getvalue('show') == 'log' or if form.getvalue('show') == 'stats' the code block isnide the if() statemnt never get executed which lead me to beleive that the rule apart form the webpage ain't sending any more variables. Παρακαλω τα φωτα σας. __________________
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.