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!

Recommended Answers

All 2 Replies

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.

Thanks Mvied!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.