Forum Moderators: phranque
I'm using the htaccess code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule ^(.+)$ /?var1=0595412[b]%3A[/b]&q=$1 [L,QSA]RewriteEngine On
RewriteCond %{HTTP_HOST} \.domain\.com [NC]
RewriteRule ^(.*)$ http://domain.com/ [R=301,L]
Ideally domain.com/query would be the same as domain.com/?var1=0595412%3A&q=query however..
Apache always converts ":" to %3A and ";" %3B which only shows A and B because %3 is assumed as a variable (which is blank because I have not set it).....?
How do I escape colons, semi colons, and percent signs in htaccess regular expressions?!
THANKS!
However - not apache seems to be automatically converting any escaped percent signs to %25 which IS a percent sign yes but not the exact character I'm searching for..
There seems to be a lack of documentation online referncing NE
I found a small blurb on [httpd.apache.org...] that doesn't even work as described.. any more ideas?