You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/09/28 14:43:12 UTC
DO NOT REPLY [Bug 36841] New: -
Alias is ignored in name based VirtualHost and HTTP/1.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36841>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36841
Summary: Alias is ignored in name based VirtualHost and HTTP/1.0
Product: Apache httpd-2.0
Version: 2.0.52
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: Silvio.Wanka@tietoenator.com
vhost def:
<VirtualHost *:80>
ServerName my-alias
ServerPath /my-alias
DocumentRoot /home/www/my-alias
Alias /test /opt/my-alias/test
<Directory /opt/my-alias/test>
...
</Directory>
</VirtualHost>
If I use a HTTP/1.1 browser all works ok, but if I
try e.g.
%telnet <server> <port>
GET /my-alias/test HTTP/1.0
I get: 404 Not Found
Workaround:
1. remove Alias definition
2. change
<Directory /opt/my-alias/test>
to
<Directory /home/www/my-alias/test>
3. ln -s /opt/my-alias/test /home/www/my-alias/test
now it works. Please change the vhost-docu (uasage of aliases and
ServerPath not possible) or fix the bug.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org