Hi Folks, I need a help here with .htaccess regular expressions. Want to forward this www.aloha.com/foo/bar/sample.html to www/aloha/foo/bar/index.php?go=sample I tried RewriteRule /foo/bar/^(.*)?.html /foo/bar/index.php?go=$1 [L] Code (markup): but it doesn't work. Any suggestion for this? Thanks in advance.
Did you try putting .htaccess file inside "/foo/bar" directory with just RewriteRule ^(.*)$.html index.php?go=$1 [L] Code (markup): From your rule it seems that "/foo/bar" directory actually exists and may be hence .htaccess is not being applied.