Koozali.org: home of the SME Server

httpd.conf

Sylvan

httpd.conf
« on: May 21, 2003, 02:10:32 AM »
Hi Guys,

To modify the httpd.conf, I know we have to do it through /etc/e-smith/templates-custom.

But how do I add this following string. Do i have to create httpd.conf entirely??

Please I need help

Alias /nagios/ /usr/local/nagios/share/

    Options None
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all


Thanks

Sylvan

JoeyP

Re: httpd.conf
« Reply #1 on: May 21, 2003, 08:51:39 AM »
put your configs to a file named: "96nagios" under "/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/"

then do the expand template:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

finally restart apache.

Alejandro Lengua

Re: httpd.conf
« Reply #2 on: November 03, 2003, 12:26:48 AM »
Just as question: Why the filename is "96"+"nagios"...?

Alejandro Lengua

Re: httpd.conf
« Reply #3 on: November 03, 2003, 01:37:16 AM »
I followed the instructions, expanded templates and restarted apache.
The /etc/httpd/conf/httpd.conf
file was correctly updated, however the /nagios/ url
doesn´t show anything.

And yes, the files are located where they should..
The owner of the files are the user nagios (as the install sugested)
is there anything I should fix?