Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: multiple .htaccess files? |
|
Author |
|
Doug22
Joined: 02 Jun 2013 Posts: 57 Location: Houston TX
|
Posted: Sat 12 Mar '16 20:41 Post subject: multiple .htaccess files? |
|
|
I'd like to have multiple .htaccess files for a given site. That is, I have a .htaccess file that I'd like to divide in two pieces, kept in the same folder, that are treated as if they were one.
My .htaccess file has a lot of stuff that I don't want to change, and other parts that are more fluid. I'd like to just work routinely on the second one.
How do I do this? Is it simply a matter of identifying the different files as .htaccess files in http.conf as, for example
Code: | AccessFileName .htaccessA .htaccessB |
That is, are these two files treated additively? As in .htaccess = htaccessA + .htaccessB? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|