qwertq
asked on
Problem with mod_rewrite.
Need some help with mod_rewrite... Can not seem to get this to work.
RewriteCond %{REQUEST_URI} ^/foo/one|two|three/.+$ [NC]
RewriteRule ^/foo/(a-z)/?$ "/press/$1/bar" [NC]
Trying to say... if someone goes to /foo/(either one, two, or three)/
then go to /foo/x/bar
Perhaps it could all be done without a RewriteCond
RewriteCond %{REQUEST_URI} ^/foo/one|two|three/.+$ [NC]
RewriteRule ^/foo/(a-z)/?$ "/press/$1/bar" [NC]
Trying to say... if someone goes to /foo/(either one, two, or three)/
then go to /foo/x/bar
Perhaps it could all be done without a RewriteCond
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.