Forum Moderators: phranque
im trying to create a rule where i can get the page parameters from the url, but seems that i cant get them using mod_rewrite, is it right?
What i need is:
[mydomain.com...]
rewrite
[mydomain.com...]
I tryied this rule
RewriteRule ^((.+[^/])/?(\?)?(.+)?)$ /main.php?user=$2&$4 [L]
I also used php, just for test purpose, to output the querystring after the rewrite rule but i couldnt Backreference to the parameters.
Tks
Ref: Apache mod_rewrite documentation [httpd.apache.org]
Jim