>Number: 1795 >Category: config >Synopsis: ScriptAlias inside of VirtualHost blocks is broken. >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 12 13:20:00 PST 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3a1 >Environment: Linux 2.0.33 GCC 2.7.21 >Description: The ScriptAlias directive, when placed inside a <VirtualHost> </VirtualHost> block, is completely ignored. When accessing CGI-BIN directories on such virtual hosts, the server happily does one of two things: either tells me the file cannot be found, OR it resorts to using the default cgi-bin directory files and executables (defined in srm.conf).
I see NO way to fix this, short of changing web servers (and praying it works). >How-To-Repeat: I can't give a FQDN for a URL, but try http://207.213.59.249/cgi-bin/testaxis.pl. You will find that the file cannot be found. But the file exists! In the httpd.conf file, I have the following: <virtualhost 207.213.59.249> ... other usual stuff for virtual hosts -- this stuff works GREAT! ... ScriptAlias /cgi-bin/ /home/<user>/public_html/cgi-bin/ </virtualhost> And yes, all directories and relavent files exist. :-) >Fix: It seems to be a logic problem -- I haven't the time to debug the software at the source code level, as I'm in charge of over 80 virtual domains on my assigned class-C alone, let alone two other class Cs. Please respond quickly! Please please please! :D Thanks for maintaining Apache -- it's a life saver! %0 >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
