I have not done more than simple redirects with the rewriterule directives in the past.
Now I am trying to intercept and redirect requests for a certain internal section. While I am getting no syntax errors from apache and I've restarted it I cannot determine why its either not working or even functional.
I have my directives in the <virtualhost *> section as follows:
RewriteEngine On
Options +FollowSymLinks
RewriteCond ${PATH_INFO} ^/name-of-site(.*)$ [NC]
RewriteRule ^/name-of-site(.*)$ [NC,L,R]
Ideas? Thanks
Now I am trying to intercept and redirect requests for a certain internal section. While I am getting no syntax errors from apache and I've restarted it I cannot determine why its either not working or even functional.
I have my directives in the <virtualhost *> section as follows:
RewriteEngine On
Options +FollowSymLinks
RewriteCond ${PATH_INFO} ^/name-of-site(.*)$ [NC]
RewriteRule ^/name-of-site(.*)$ [NC,L,R]
Ideas? Thanks