www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Guo Ong <ongwei...@netscape.net>
Subject os-hpux/2989: Virtual Host does not work properly
Date Fri, 11 Sep 1998 03:01:31 GMT

>Number:         2989
>Category:       os-hpux
>Synopsis:       Virtual Host does not work properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Sep 10 20:10:01 PDT 1998
>Last-Modified:
>Originator:     ongweiguo@netscape.net
>Organization:
apache
>Release:        1.3.1
>Environment:
HP-UX 11.00 (June 1998 Edition with Software Extension Patch 9806)
HP Ansi C compiler
Patch applied - PHNE_15995
>Description:
Is not able to get Name Virtual Host to work properly, the message display is
Forbidden to access / .  The DNS for the Virtual Hosts are set properly,which are
alias to the actual server name.  The "DocumentRoot" directive in "VirtualHost" 
directive is set properly.  The permissions of the files in the "DocumentRoot" are
set to rw-r--r-- and the owner as www which is the same as "User" directive in 
httpd.conf.

Tried with IP Virtual Host, with the changes made to the config files as well
as the DNS, and the IP address configuration, the same problem still exist.

Sample of the "access log" for the virtual host
X.X.X.X - - [11/Sep/1998:09:48:24 +0800] "GET / HTTP/1.0" 403 198
Browser used for testing is Netscape Navigtor 4.05
Nothing was log in the "error log" for the Virtual Host

Sample of the Virtual Host Directive in httpd.conf

NameVirtualHost 123.123.123.123

<VirtualHost 123.123.123.123>
ServerName abc.def.com         (this is an alias to the actual host name in DNS)
DocumentRoot /opt/apache/share/virtual1
ErrorLog /opt/apache/var/log/virtual1-error.log
TransferLog /opt/apache/var/log/virtual1-access.log
</VirtualHost>

<VirtualHost 123.123.123.123>
ServerName def.def.com         (this is an alias to the actual host name in DNS)
DocumentRoot /opt/apache/share/virtual2
ErrorLog /opt/apache/var/log/virtual2-error.log
TransferLog /opt/apache/var/log/virtual2-access.log
</VirtualHost>

I think it could be some configuration problem, but not too sure about that.
The browsers are able to access the Virtual Hosts, but not able to read the html
files in the Virtual Host directory.
>How-To-Repeat:

>Fix:

>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. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message