[Gllug] Problem with Apache & Virtual Hosting

John Edwards john_ed at cornerstonelinux.co.uk
Mon Oct 15 20:25:22 UTC 2001


On Mon, Oct 15, 2001 at 04:24:55PM +0100, Rowan Puttergill wrote:
> Hi
> I know this is probably one of the most over-asked questions on any mailing
> list like this, but I've read the manuals and asked the gurus I know and am
> still high and dry. Here goes. I'm running SuSE 7.1 and Apache with Virtual
> Hosting set up. When I start Apache, my virtual hosting seems to work fine
> for a couple of hours or so... then it starts wierding out by either
> dropping the virtual hosting directives entirely, or by associating the
> wrong paths with the virtual host in question. A simple restart of Apache
> usually resolves it, but I have to restart Apache at least once a day. There
> are no error messages in /var/log/messages and the only errors in
> /var/log/httpd are for missing files resulting from incorrect pathing when
> the Virtual Hosting falls over.
> 
> If necessary I can post my httpd.conf, but I doubt the problem lies in the
> actual Virtual Host directives themselves.
> 
> Any help would be appreciated.
> Thanks
> Ciao
> Rowan Puttergill

Hi
I've seen a similar thing where after several minutes Apache would serve 
up a random Virtual Host for all Virtual Hosts except the first one in 
httpd.conf

It drove me nuts for three days, and that we traced it back to one of 
the "contributed" Apache modules (can't remember which one) that SuSE 
enabled by default in v7.1. 

Setting "HTTPD_SEC_MOD_MISC=no" in /etc/rc.config.d/apache.rc.config 
solved the problem (eg do not load any of the non-Apache group modules).

That sort of put me off SuSE (along with yast/yast2).


-- 
#------------------------------------------------------------------------#
|    John Edwards    Email: John.Edwards at uk.com                          |
|                                                                        |
|  "Many solutions were suggested for this problem, but most of these    |
|   were largely concerned with the movements of small green pieces of   |
|   paper, which is odd because on the whole it wasn't the small green   |
|   pieces of paper that were unhappy." - Douglas Adam on unhappiness    |
#------------------------------------------------------------------------#

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list