htaccess & mod rewrite for redirection script
Posted: Wed Apr 29, 2009 1:38 pm
I'm trying to create a redirection script, but I'm getting 404 errors.
Here is the .htaccess file:
Now if I go to folder/http://www.test.com it works. But when I urlencode it and go to http%3A%2F%2Ftest.com I get 404 errors.
I would like to get this working without adding parameters to the url.
Here is the .htaccess file:
Code: Select all
Options -Indexes
RewriteEngine on
RewriteRule ^(.*)$ index.php?RESOURCE=$1 [L,QSA]
I would like to get this working without adding parameters to the url.