www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Saez <da...@ols.es>
Subject mod_alias/5313: ScriptAlias malfunction
Date Mon, 15 Nov 1999 09:55:20 GMT

>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
>Originator:     david@ols.es
>Release:        1.3.9
Solaris 2.5/SPARC egcs-1.1.2
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

Maybe a problem in the way aliases are looked for matches, it should first
look for that that better matches the requested uri.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]

View raw message