Koozali.org: home of the SME Server

Weird problem regarding httpd.conf file

Zee

Weird problem regarding httpd.conf file
« on: October 03, 2001, 11:16:51 PM »
I'm having some major headaches with my 4.1.2 install of e-smith.

I've "upraded" it by installing the latest patch for IMP, as well as ezmlm and AWSATS.......

The problem is such.........once I go to the manager and modify something, when it re-loads, it doesn't work.  It gives me an error for the e-smith-manager.

So, I rebooted the server, and found a couple fo fails during the bootup.  I don't remember where the fails where, but I do know that the apache log files stated that there was an error on line 677 or so.

So I went to /etc/httpd/admin-conf/httpd.conf and looked at the conf file. and basically there is an entry at the end of the file that reads..............

#------------------------------------------------------------
# e-smith-password panel
#------------------------------------------------------------


    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.1.0/255.255.255.0
    SetEnv IMGHDR_SRC "/e-smith-common/e-smith-password.gif"



    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.1.0/255.255.255.0
    SetEnv IMGHDR_SRC "/e-smith-common/e-smith-password.gif"




#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
Right above the Template END line it adds..........


    Options Indexes Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all



This is causing the problem.  Now I assume that it's a template that is appending it.  So how do I go about fixing this.

If I delete those lines and reboot, then the e-smith-manager works fine.

Zee

Re: Weird problem regarding httpd.conf file
« Reply #1 on: October 04, 2001, 07:57:00 PM »
I figgered it out!!

It was the damed Squirrelmail that was causing all the grief!!

Ran rpm -e and uninstalled it.

Problems have now gone!!

WOO WOO!!