httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JM Fraser" <...@cybertrex.co.uk>
Subject RE: [users@httpd] ErrorDocument 500 not working
Date Wed, 04 Feb 2004 01:22:25 GMT
Why not use Name Based VH?

Such as:

<VirtualHost *:80>
	ServerAdmin webmaster@harrahs.org
	DocumentRoot /www/blah...
	ServerAlias  harrahs.org *.harrahs.org
	ServerName  pcsstg.harrahs.org
</VirtualHost>

This is how I set up my VH and they all work fine. Don't forget to add the
Error and Custom logs within the VH directives. Oh and stop and start
(graceful) the ... /apache2/bin/apachectl file! (Just checking!)

Jules

-----Original Message-----
From: Jez Hancock [mailto:munk@munk.nu]On Behalf Of Jez Hancock
Sent: 03 February 2004 22:34
To: Robin Clarke
Cc: users@httpd.apache.org
Subject: Re: [users@httpd] ErrorDocument 500 not working


On Tue, Feb 03, 2004 at 02:27:00PM -0800, Robin Clarke wrote:
> I am not getting much of a response.....so maybe I am looking in the wrong
place.
>
>
> I have a feeling this could be related to my <VirtualHost> container.
>
> In my case, the IP address of the front-end server server is
192.168.37.171.
>
> "pcsstg.harrahs.org" is registered to point to the same IP address. (I
checked this by doing a ping pcsstg.harrahs.org.)
>
> BUT....SHOULD I HAVE AN IP ADDRESS INSTEAD OF "pcsstg.harrahs.org" IN THE
<VirtualHost> TAG???
>
> --------------------------------------
> NameVirtualHost 192.168.37.171
>
> <VirtualHost pcsstg.harrahs.org>		<--- IS THIS INCORRECT?????
!!!

Should be:

<VirtualHost 192.168.37.171>


--
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message