I have a website, lets say: http://www.example.com/
I’m using rewrite module, but I have a subfolder forum.example.com
I don’t want the .htaccess to affect this directory, how do I do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your
forum.domain.compoints to a subdirectory like you suggested (and your current.htaccessfile is in the directory that contains that subdirectory, or some directory above it), then all you have to do is add a.htaccessfile in the subdirectory with the following:And it will disable
mod_rewritefor any requests that point to that directory.