954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

can I have more than one htaccess file in a site? as in inside subdirectories...

Hello, all:

Wandering if anybody can help me with this:

can I have more than one htaccess file in a site? as in having htaccess files in subdirectories to control or specify how files in that directory refer to "include" files? so that if I have a mini-site within a site (as in www.mysite.com/sports) , the sports sections will only read includes that are inside the Sports folder and not the root folder?

is that even the proper way to do that??

Thanks for your help!

websurfer
Junior Poster in Training
65 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

I'm having a hard time understanding what you're trying to accomplish; however, it is possible to have .htaccess files within folders that control what happens in that folder and it's subdirectories.

MVied
Junior Poster
112 posts since Aug 2008
Reputation Points: 21
Solved Threads: 11
 

Thanks Mvied!

websurfer
Junior Poster in Training
65 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You