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 2002/11/02 16:17:11 UTC
DO NOT REPLY [Bug 14190] New: -
VirtualScriptAlias does not work in some cases
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14190>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14190
VirtualScriptAlias does not work in some cases
Summary: VirtualScriptAlias does not work in some cases
Product: Apache httpd-1.3
Version: 1.3.26
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: Normal
Priority: Other
Component: mod_vhost_alias
AssignedTo: bugs@httpd.apache.org
ReportedBy: rh@heron.com.pl
I use massive virtual host configuration within another host-based virtual
server. The following is from my httpd.conf file:
DocumentRoot /htdocs/my.main.www.server.com/data
ScriptAlias /cgi-bin /htdocs/my.main.www.server.com/cgi-bin
<VirtualHost aaa.bbb.ccc.ddd> # aaa.bbb.ccc.ddd - one of my public IPs
VirtualDocumentRoot /htdocs/vhosts/%0/data
VirtualScriptAlias /htdocs/vhosts/%0/cgi-bin
</VirtualHost>
and with the above configuration (when checking in web browser):
VirtualDocumentRoot directs to /htdocs/vhosts/%0/data (that's OK)
VirtualScriptAlias directs to /htdocs/my.main.www.server.com/cgi-bin (that's
NOT OK!)
When I remove the directive:
ScriptAlias /cgi-bin /htdocs/my.main.www.server.com/cgi-bin
from main configuration, then VirtualScriptAlias starts to work correctly and
directs to /htdocs/vhosts/%0/cgi-bin.
VirtualDocumentRoot always works correctly.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org