Which httpd.conf on apache install?

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,806
Location
A Coruña, Spain
Hi,

i would need to use a custom httpd.conf when custombuild install apache.

I alraedy have the custom/ap2/conf/httpd.conf and is working for rewrite_confs option, but, what about if i delete /etc/httpd/conf/httpd.conf* and re-installa apache using ./build apache? Where didi he get the conf and why he doesnt check if we got a custom one?

Thanks in advance

Regards
 
"./build apache" should copy config files from /usr/local/directadmin/custombuild/custom/ap2/conf directory if it does exist.
 
Are you sure?
Code:
>cat /etc/httpd/conf/httpd.conf | grep "ExtendedStatus On"
ExtendedStatus On
>rm /etc/httpd/conf/httpd.conf*
>cat /usr/local/directadmin/custombuild/custom/ap2/conf/httpd.conf | grep "ExtendedStatus On"
ExtendedStatus On
>cd /usr/local/directadmin/custombuild/
>./build apache
>cat /etc/httpd/conf/httpd.conf | grep "ExtendedStatus On"


Thats strange (also tryed to build update before build apache)...

PS. tested on another box and it does work... now.. what should i check?

Thanks
 
Using rewrite_confs work

Code:
>./build rewrite_confs
>cat /etc/httpd/conf/httpd.conf | grep "ExtendedStatus On"
ExtendedStatus On

That's strange...
 
Back
Top