httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Long <>
Subject Re: Suggestion for Apache Server (fwd)
Date Sun, 15 Oct 1995 21:37:45 GMT
Last time, Rob Hartill uttered the following other thing:
> For any virtual host gurus to ponder...
> no ack sent.
> Forwarded message:
> > 
> > Hi,
> > 
> > We set our users up with an account with directories "WWW" and "cgi-bin" to  
> > put there web page stuff in.  We configure the Apache server to use the  
> > directories "/usr/home/username/WWW" as the DocumentRoot for each Virtual  
> > Host.
> > 
> > But, we have some users who rename "WWW" to "www".  As a result, the Apache  
> > server won't start.  Is there anyway to have so that the Apache server just  
> > ignores the VIrtual Host that has incorrect configuration information, but  
> > starts the rest?  It could just log an error message in the top-level error  
> > log about not starting the Virtual Host.

This was also brought up by members of the NCSA HTTPd beta test,
and a "fix" is implemented in 1.5b6

If you want configuration compatibility:
basically, we added a keyword to the VirtualHost line

<VirtualHost Required>

If anything in this configuration fails, the server exits.


<VirtualHost Optional>

Any errors just log warnings.  All other servers should work fine,
behaviour of the error'd host is undefined (I could probably make
it just not exist, but that's not currently what it does, it just
tries to work as well as it can)

If you don't add the keyword, it defaults to Required (backward 

Kinda a hack, but . . .


 Brandon Long   (N9WUC)     "I think, therefore, I am confused." -- RAW
 Computer Engineering   	Run Linux '95.	It's that Easy. 
 University of Illinois
		Don't worry, these aren't even my views.

View raw message