Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Sylvan on May 21, 2003, 02:10:32 AM

Title: httpd.conf
Post by: Sylvan 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
Title: Re: httpd.conf
Post by: JoeyP 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.
Title: Re: httpd.conf
Post by: Alejandro Lengua on November 03, 2003, 12:26:48 AM
Just as question: Why the filename is "96"+"nagios"...?
Title: Re: httpd.conf
Post by: Alejandro Lengua 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?