rewriterule: Why test/home becomes test?/home
Posted on 2004-04-01
I the code below to make test.php?content=home look like test/home, but when I enter test/home the URL in my addressbar show test?/home. I hate that ? so I am looking for a solution to drop that ?. Also I am wondering if there is an easier way. Because now I have to declare each file with the files statement. I am working on a .htaccess bases, because I don't have access to the .conf file for this.
The code I am using:
RewriteRule ^test/([/A-Za-z0-9_]*)$ test?/$1 [R]