Forum Moderators: phranque
i have a page that redirect to a url like this:
[mydomain.net...]
and in /error i have this .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/error/
RewriteRule (.*) /cgi-bin/error/error.chm?uri=%{REQUEST_URI}&qs=%{QUERY_STRING}
now, in /cgi-bin/error/error.chm, if I print $cgi->param('qs'), I only have ACT=deleted, how can i modify the .htaccess to pass all the querystring?
thanx all for your help
regards
Manuel
RewriteEngine on
RewriteRule ^(.*)$ /cgi-bin/error/error.chm?uri=$1&qs=%{QUERY_STRING} [L]
If not write and test a very simple rule like this, for example:
RewriteRule ^test\.html$ http://www.webmasterworld.com/ [R=301,L]
Jim
[edited by: jdMorgan at 1:33 pm (utc) on May 4, 2007]