You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by David Rasch <ra...@raschnet.com> on 2000/11/29 19:42:54 UTC

mod_alias/6909: Using VirtualDocumentRoot and ScriptAlias does not perform as documented

>Number:         6909
>Category:       mod_alias
>Synopsis:       Using VirtualDocumentRoot and ScriptAlias does not perform as documented
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Nov 29 10:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     rasch@raschnet.com
>Release:        1.3.14
>Organization:
apache
>Environment:
Linux linux 2.2.16 #1 Mon Aug 14 12:39:59 CDT 2000 i486 unknown
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Server version: Apache/1.3.14 (Unix)
Server built:   Nov 29 2000 01:05:15
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FCNTL_SERIALIZED_ACCEPT
 -D HTTPD_ROOT="/var/lib/apache"
 -D SUEXEC_BIN="/var/lib/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

>Description:
Pertinent area of my configuration: 
>How-To-Repeat:
http://www.raschnet.com/mailman
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]
 
 
 >NameVirtualHost *
 >UseCanonicalName Off
 >VirtualDocumentRoot /www/%0
 >ScriptAlias /mailman/ /home/mailman/cgi-bin/
 
 When trying to access  /mailman the documentation here: http://ctservice.de/taker/cgi-bin/anon-www.cgi/http://www.sino21.com/manual/vhosts/mass.html#homepages 
 indicates that this should be a global ScriptAlias directory, but in fact 
 
 my log shows it tries to access it in the virtual directory
 [Wed Nov 29 12:36:23 2000] [error] [client 24.217.63.195] File does not exist: /
 www/www.raschnet.com/mailman
 
 This worked before i started using VirtualDocumentRoot and all the permissions are fine, it's just trying to access the wrong directory. The same thing happens with cgi-bin.  Is there any way I can fix this?