> -----Original Message----- > From: Andrew Walmsley [mailto:andrew.walmsley@xxxxxxxxxx] > Sent: Thursday, July 27, 2006 11:48 AM > To: users@xxxxxxxxxxxxxxxx > Subject: [users@httpd] Best Practice Question > > We are porting a (mostly) perl application from Apache 1.X to > Apache 2.X and decided to put all of the configuration for > the application into an etg.conf and put that in the conf.d > directory. This failed, as it has the lines <IfModule > mod_perl.c>. mod_perl is loaded from the perl.conf (also in > the conf.d). As etg.conf is alphabetically before perl.conf, > mod_perl is loaded after etg.conf so the IfModule fails, > missing out our code. > > > > We can fix this in several ways, currently by renaming our > etg.conf to z-etg.conf. The question is, what is the correct > way to resolve this? Create a conf.d/usr directory, put our > conf files in there and do an Include conf.d/usr/*.conf after > the Include conf.d/*.conf in httpd.conf? Just place our > definitions in httpd.conf? Or some other way? Not sure there is a right or wrong way... My solution would be to put everything in httpd.conf - check out the comments in srm.conf that used to come with apache 1.3: # To avoid confusion, it is recommended that you put all of your # Apache server directives into the httpd.conf file and leave this # one essentially empty. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > -- > > Andrew Walmsley > > > > Software Development > > Travel Technology Systems Ltd. > > 2 Nile Close, Riversway > > Preston, PR2 2XU > > Tel: 01772 766800 > > Fax: 01772 766801 > > (please note the new address and contact number) > > > > This Email may contain information of a confidential and/or > privileged nature. > > The information transmitted is intended only for the benefit > of the person or entity to which it is addressed and must not > be copied or forwarded without the sender's express permission. > > This Email does not reflect the views or opinions of Travel > Technology Systems Ltd. > > This Email is without prejudice. > > This Email does not constitute an agreement either explicitly > or implicitly with Travel Technology Systems Ltd. > > > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx