Forum Moderators: phranque
I have a setup like [mydomain.com...]
RewriteCond %{REQUEST_URI} /user/([^.]+)/ [NC]
RewriteRule .* - [E=userID:%1]
this doesn't seem to be working. Any tips? Essentially I need the username (in this case, "blah") to be in a variable.
Thanks in advance,
~Creaturecorp
RewriteRule ^user/([^/]+)/ - [NC,E=userID:$1]
If this code is for use in httpd.conf or conf.d rather than .htaccess, then precede the 'user/' pattern with a slash.
Jim