Forum Moderators: phranque
RewriteRule ^/check$ http://example.com/adv_check [P]
that works as expected. However, if I move that line to the .htaccess in the document root of the virtual server, it doesn't work
is there a restriction on the use of [P] in .htaccess files?
Could you define 'doesn't work'?
Is there an error? If so, what error?
Did you remove the preceding / from the left side of the rule, which is required in the httpd file, but will cause the rule to fail in the .htaccess file?
Please, let us know exactly what is not working, and then maybe we can help you find an answer.
Justin