View Single Post
Old 2006-10-25, 03:58 PM   #61
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Quote:
Originally Posted by mniki View Post
Sorry to interupt discussion

It may sound like stupid question but I am not very good at this.
Need explanation about htaccess, Under same domain name have TGP and LL. Would It be enough to put It In public_html folder of my domain name or should I put separatly htaccess 1 for TGP and 1 for LL.
Looks like your post nearly got lost in the .

htaccess gurus, correct me if I'm wrong

I think it depends on how you have your dir structure set up. If you have an htaccess file in a folder it is considered a replacement for any htaccess files closer to the root domain.

If you have an htaccess file in the following:
yourdomain.com
yourdomain.com/dir1/

The htaccess file at the root (yourdomain.com) will not affect anything inside dir1, however it will continue to affect:

yourdomain.com/dir2/
yourdomain.com/dir3/

The htaccess file in dir1 will affect anything deeper than dir1:

yourdomain.com/dir1/subdir1/
yourdomain.com/dir1/subdir2/

htaccess is an all or nothing deal. If it's affecting dirs, then it's affecting them. If it's not, then it's not.

Does that answer your question?
__________________
~Warm and Fuzzy.

Last edited by virgohippy; 2006-10-25 at 04:02 PM..
virgohippy is offline   Reply With Quote