www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jon drukman <...@gamespot.com>
Subject general/1788: virtualhosts don't work as documented
Date Tue, 10 Feb 1998 23:13:25 GMT

>Number:         1788
>Category:       general
>Synopsis:       virtualhosts don't work as documented
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Feb 10 15:20:00 PST 1998
>Last-Modified:
>Originator:     jsd@gamespot.com
>Organization:
apache
>Release:        1.3b3
>Environment:
freebsd 2.2.5, gcc 2.7.2.1
>Description:
this site has one ip address.  there is one named virtualhost.  everything else
is in the main server.  all requests go to the vhost, nothing ever hits the main
server.

i read the upgrading to 1.3 and all the virtualhost documentation.  here is
my configuration file.

ServerType standalone
Port 80
HostnameLookups on
User nobody
Group nogroup
ServerName download.videogamespot.com
ServerAdmin webmaster@gamespot.com
ServerRoot /www
ErrorLog logs/error_log
TransferLog logs/access_log
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_status
AccessConfig access.conf
ResourceConfig /dev/null
TypesConfig /www/mime.types

KeepAlive Off
Timeout 60

StartServers 10
MaxClients 150
MaxRequestsPerChild 300

DocumentRoot /www/docs

NameVirtualHost 165.113.58.130

<virtualhost 165.113.58.130>
hostnamelookups off
servername sticky.bud.com
documentroot /www/docs/jsd
transferlog /www/jsd-log/access
errorlog /www/jsd-log/error
serveradmin jsd@bud.com
</virtualhost>

<directory /www/docs/jsd>
options all
allowoverride all
</directory>

AddType audio/x-mpeg3 mp3

DefaultType text/plain

here is access.conf:
<directory />
options followsymlinks
allowoverride authconfig fileinfo
order allow,deny
allow from all
</directory>

<location /info>
sethandler server-info
order deny,allow
deny from all
allow from 206.169.18.
allow from 207.82.177.133
</location>

<Location /status>
SetHandler server-status
order deny,allow
deny from all
allow from 206.169.18.
allow from 207.82.177.133
</Location>
>How-To-Repeat:

>Fix:
i noticed several other PRs with similar symptoms, and all the fixes said
to read the docs.  i read the docs and i believe i am doing this right.
perhaps the docs could cover this case more explicitly since i am obviously
not the only one having trouble with it
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message