It is true that conf.d is distro specific (Debian in this case) however
apache does support the use of a directory in the Include statement.

The way I was trying to set this up was the original filename begins with an
'e' and I set up the custom file to begin with a 'p'

My logic is that the system would parse the 'e' file then the 'p' file.

I see in the docs that apachectl configtest is supposed to display a list of
files being parsed, but on my Debian system it does not display them.

So my question is, is the way I am trying to accomplish this supposed to
work?

-----Original Message-----
From: Vincent Bray [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 11:11 AM
To: users@httpd.apache.org; [EMAIL PROTECTED]
Subject: Re: [EMAIL PROTECTED] conf files in conf.d directory

Hi,

On 10/20/06, Tony Heal <[EMAIL PROTECTED]> wrote:
> I have a conf file that has multiple RewriteRule lines. This conf file
works
> fine. My problem is this same conf file is used on several hundred boxes
and
> is created from a CVS build. I need to add a custom RewriteRule for a
single
> server that all other servers will not get. I believe I can create a new
> file in conf.d, but I am not sure how to do this. My initial thought was
to
> simply create a file in conf.d with a file name that begins with a letter
> higher than the original file and contains only this:

conf.d is a distro specific (Red Hat/Fedora?) file layout not used by
the standard apache distribution. However the directive used for this
is 'Include'. You could use a name for an included which sorts
lexically before the others but I *believe* getting a consistent
sorting order depends on your filesystem.

http://httpd.apache.org/docs/2.2/mod/core.html#include

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to