Please MOVE Frontpage "ServerRoot /etc/httpd" in user httpd.conf to template file

kke

Verified User
Joined
Apr 4, 2006
Messages
199
Location
Thailand
Please MOVE Frontpage "ServerRoot /etc/httpd" in user httpd.conf to template file

I try to replace apache with other webserver that not apache compatible config file
I modify all virtual_host*.conf in custom folder, all look to work fine except the sentense

# Frontpage requires these parameters in every httpd.conf file or else
# it won't work.
ServerRoot /etc/httpd

appear in user httpd.conf file without a change to modify it and make webserver error to start.


Please move these lines into template file like frontpage.conf
# Frontpage requires these parameters in every httpd.conf file or else
# it won't work.
ServerRoot /etc/httpd

So we have a change to empty this file.

Regards,
KKE
 
What's I doing is try to replace Apache2.0 template with Lighttpd

Problem found:

1. The line
ServerRoot /etc/httpd
that auto insert to user's httpd.conf (/usr/local/directadmin/data/users/[username]/httpd.conf) make lighttpd error to start, solution: move from directadmin program to template file.

2. The line
Include /usr/local/directadmin/data/users/[username]/httpd.conf
that insert into main httpd.conf file also make lighttpd error to start, lighttpd require more strict syntax than apache it need small 'i' for word 'include' with value inside the '"' sign
include "/usr/local/directadmin/data/users/[username]/httpd.conf"

solution: use all_post.sh to replace those lines ??
IMHO move to template file is not a good idea
 
Back
Top