Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

How to not use htaccess in a dir

7:53 pm on Sep 19, 2011 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 20, 2004
posts: 98
votes: 0

The problem is this. I have a dir in a certain virtual host with a lot of movies which are protected using .htaccess. Now I have another virtual host on that server and I want to use that movies for that virtual host withous using htaccess. So htacces must be shutdown if that virtual host is used. What can I do?

For example:
Site 1 has access to a /here/are/movies using .htaccess if the IP is right

Site 2 needs to access /here/are/movies and .htacces must be ignored!
8:01 pm on Sept 19, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

Some rules can be set such that the domain that was requested plays a part in what actually happens.