Forum Moderators: phranque
Iam using this rule:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9]{1,2})/([^.]+)$ my_script.php?numericVar=$1&textVar=$2 [L]
It works whit _ or - , but if i use / i loose the css, images, etc files seeing only text because it is searching them on another directory i think.
So i used this:
RewriteCond %{REQUEST_URI} !^/(index\.php字obots\.txt存itemap\.xml奸abels\.rdf安3c/p3p\.xml)$
RewriteCond %{REQUEST_URI} !\.(gif夸pg夸peg?如ng夷co圭ss夸s地vi妃pe?g安av安mv妃p3存wf圩lv)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9]{1,2})/([^.]+)$ my_script.php?numericVar=$1&textVar=$2 [L]
But it didnt work.
How can i solve it ?
Thanks alot.
[edited by: Camaleon at 8:15 pm (utc) on Dec. 5, 2008]