Portal Home > Knowledgebase > Articles Database > disable htaccess with other htaccess


disable htaccess with other htaccess




Posted by Markovic, 03-09-2010, 08:39 AM
Hey, I have .htaccess in /home/user/public_html/site/.htaccess and I wave another .htaccess in /home/user/public_html/site/test/.htaccess. How could I disable the first htaccess via the 2nd one. Basically, I need to tell htaccess in /test dir to ignore the htaccess in /site dir Thanks

Posted by david510, 03-09-2010, 09:26 AM
The concept of htaccess is that it will override configuration in the sub-directories and not not upwards. You cannot disable htaccess via another htaccess. You can can do that from VH section in httpd.conf file.

Posted by BobyKirov, 03-09-2010, 10:22 AM
That`s right what david510 said.There is no way to disable htaccess via another.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Packages (Views: 571)