custom httpd.conf

SeLLeRoNe

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

i was making some test and ive noticed this:

Code:
/usr/local/directadmin/custombuild/build rewrite_confs

Doesnt use

Code:
/usr/local/directadmin/data/templates/custom/httpd.conf

for replace

Code:
/etc/http/conf/httpd.conf

And neither
Code:
/usr/local/directadmin/data/templates/httpd.conf

Ive looked into the build script and seem that just copy (if exist) the

Code:
/etc/http/conf/httpd.conf.backup

So ive tryed to remove all httpd.conf* from /etc/http/conf/ but the file get again generated dunno from where.

So, my request is, should be possible make it JUST check the directadmin/data/templates (and of course /custom subfolder) for the config files?

Cause, the composition of httpd.conf rewrote is completly different from the original one from directadmin (the structure i mean).

Thanks in advance

Regards
 
Hello,

You should put your custom httpd.conf in
/usr/local/directadmin/custombuild/custom/ap2/conf/

Code:
# ls -1 /usr/local/directadmin/custombuild/custom/ap2/conf/
extra
httpd.conf
httpd.conf_2.0
magic
mime.types

copy it from:

Code:
# ls -1 /usr/local/directadmin/custombuild/configure/ap2/conf/
extra
httpd.conf
httpd.conf_2.0
magic
mime.types
 
Back
Top