>Number:         5313
>Category:       mod_alias
>Synopsis:       ScriptAlias malfunction
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Nov 15 03:00:01 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.9
>Environment:
Solaris 2.5/SPARC egcs-1.1.2
>Description:
I have in srm.conf:

ScriptAlias /cgi-bin/Count.cgi  /usr/local/Counter/bin/Count.cgi

I want this alias to work with all virtual servers, It works for all but 
when I define in <VirtualHost>

ScriptAlias /cgi-bin/  /usr/local/apache/http-docs/virtual2/cgi-bin/

and try to access /cgi-bin/Count.cgi apache returns a File Not Found Error.
If I copy the scriptalias definition from srm.conf to virtualhost it works
fine, but it should take in account that the scriptalias defined in srm.conf
is global and so it must work for all virtual servers
>How-To-Repeat:

>Fix:
Maybe a problem in the way aliases are looked for matches, it should first
look for that that better matches the requested uri.
>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 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!     ]



Reply via email to