Received: (qmail 96320 invoked by uid 65534); 24 Jan 2000 12:42:21 -0000 Message-Id: <20000124124221.96319.qmail@locus.apache.org> Date: 24 Jan 2000 12:42:21 -0000 From: Toldo@locus.apache.org, Luca Reply-To: luca.toldo@merck.de To: submit@bugz.apache.org Subject: Multiple ScriptAlias does not work, ScriptAliasMatch not suitable for the task. X-Send-Pr-Version: 3.110 >Number: 5630 >Category: mod_alias >Synopsis: Multiple ScriptAlias does not work, ScriptAliasMatch not suitable for the task. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Mon Jan 24 04:50:01 PST 2000 >Closed-Date: Sun Sep 17 22:02:27 PDT 2000 >Last-Modified: Sun Sep 17 22:02:27 PDT 2000 >Originator: luca.toldo@merck.de >Release: 1.3.6 >Organization: >Environment: irix 6.5.5 >Description: Given 2 directories called /home/www/cgi-bin /home/www/mydir/cgi-bin I need to configure the server so that a request for a CGI script called /cgi-bin/foo.pl be looked up in both of the above for full path /home/www/cgi-bin/foo.pl /home/www/mydir/cgi-bin/foo.pl >How-To-Repeat: Easily: see above >Fix: Make the ScriptAlias directive working for more than one case >Release-Note: >Audit-Trail: From: vsolve apache To: Toldo@locus.apache.org, luca.toldo@merck.de Cc: apbugs@Apache.Org Subject: mod_alias/5630: Multiple ScriptAlias does not work, ScriptAliasMatch not suitable for the task Date: Tue, 25 Jan 2000 05:58:01 -0800 (PST) Hi, Alternate solution: Using ScriptAliasMatch you can configure the server so that a request for a CGI script /cgi-bin/foo.pl will be called from /home/www/cgi-bin/foo.pl and a request for a CGI script /mydir/cgi-bin/foo.pl will be called from /home/www/mydir/cgi-bin/foo.pl ScriptAliasMatch ^/cgi-bin(.*) /home/www/cgi-bin/foo.pl ScriptAliasMatch ^/mydir/cgi-bin(.*) /home/www/mydir/cgi-bin/foo.pl regards, visolve_apache Visolve.com www.v-solve.com >Number: 5630 >Category: mod_alias >Synopsis: Multiple ScriptAlias does not work, ScriptAliasMatch not suitable for the task. >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 24 04:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: luca.toldo@merck.de >Release: 1.3.6 >Organization: apache >Environment: irix 6.5.5 >Description: Given 2 directories called /home/www/cgi-bin /home/www/mydir/cgi-bin I need to configure the server so that a request for a CGI script called /cgi-bin/foo.pl be looked up in both of the above for full path /home/www/cgi-bin/foo.pl /home/www/mydir/cgi-bin/foo.pl >How-To-Repeat: Easily: see above >Fix: Make the ScriptAlias directive working for more than one case ===== Web: http://www.v-solve.com E-mail: visolve@pacbell.net ************************************************************ Kovai Solutions USA Inc., * Kovaiteam Software Pvt Ltd, 6559 Springpath Lane, * 8/4 SIEMA Bldgs,Race Course, San Jose,CA - 95120 * Coimbatore - 641 018,India Tel: (408) 666-4320 * Tel: +91(422) 200 849 Fax: (408) 323-1872 * Fax: +91(422) 214 074 __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Sun Sep 17 22:02:27 PDT 2000 State-Changed-Why: ScriptAlias is not designed to do this. mod_rewrite does have the capability to check for the existence of a file before rewriting, so you may want to check that. Thanks for using apache. Class-Changed-From-To: sw-bug-change-request Class-Changed-By: slive Class-Changed-When: Sun Sep 17 22:02:27 PDT 2000 Severity-Changed-From-To: critical-non-critical Severity-Changed-By: slive Severity-Changed-When: Sun Sep 17 22:02:27 PDT 2000 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]