Hello everybody, can any one explain how this works because SME has httpd-e-smith, httpd-admin and maybe httpd running in
/etc/rc.d/init.d/
So if I wanted to change "DocumentRoot" for the main start page of the web server I would change it in
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DocRoot
or copy this file first to
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
and edit it. Then, expand templates with
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
templates-custom/ files take priority over those in templates/ directory (I think)
then restart httpd with
/sbin/service httpd restart
and
/sbin/service httpd-e-smith restart
I take a look in /etc/httpd/conf/httpd.conf and I can see my changes at the end of the file, a new line has been inserted:
DocumentRoot /my-new-htdocs-dir
I made all this but nothing happend, my start page still in
/home/e-smith/files/primary/html/
I need to change that to be able to install the gateway authentication NoCatAuth.
Get ideas ?