Received: (qmail 480 invoked by uid 2012); 13 Oct 1998 18:39:02 -0000 Message-Id: <19981013183902.479.qmail@hyperreal.org> Date: 13 Oct 1998 18:39:02 -0000 From: Jeff Blaine Reply-To: jblaine@shore.net To: apbugs@hyperreal.org Subject: ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cgi/$2" does not work X-Send-Pr-Version: 3.2 >Number: 3201 >Category: mod_alias >Synopsis: ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cgi/$2" does not work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: mistaken >Submitter-Id: apache >Arrival-Date: Tue Oct 13 11:40:00 PDT 1998 >Last-Modified: Tue Oct 13 15:49:43 PDT 1998 >Originator: jblaine@shore.net >Organization: >Release: 1.3.3 >Environment: SunOS 5.5.1 Generic_103640-20 sun4u sparc SUNW,Ultra-1 GCC 2.8.1 >Description: Faced with the problem, "How do I setup Apache so that a teacher can give a class on CGI programming and the students can each have their own areas for doing CGI programming?" I read the FAQ and poked around the docs until I found ScriptAliasMatch. Apache : instsun-sv > tail -1 logs/error_log [Tue Oct 13 14:25:34 1998] [error] [client 129.83.19.1] script not found or unable to stat: /home/pl705s1/public_cgi/test.cgi" Apache : instsun-sv > ls -ld /home/pl705s1 drwxr-xr-x 4 pl705s1 other 512 Oct 13 14:19 /home/pl705s1/ Apache : instsun-sv > ls -ld /home/pl705s1/pub public_cgi public_html Apache : instsun-sv > ls -ld /home/pl705s1/public_cgi drwxr-xr-x 2 pl705s1 pl705 512 Oct 13 14:20 /home/pl705s1/public_cgi/ Apache : instsun-sv > ls -ld /home/pl705s1/public_cgi/test.cgi -rwxr-xr-x 1 pl705s1 pl705 127 Oct 13 14:20 /home/pl705s1/public_cgi/test.cgi* Apache : instsun-sv > hello apache what is your damage? bash: hello: command not found Apache : instsun-sv > grep ScriptAliasMatch conf/srm.conf ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cgi/$2" Apache : instsun-sv > uname -a SunOS instsun-sv.mitre.org 5.5.1 Generic_103640-20 sun4u sparc SUNW,Ultra-1 Apache : instsun-sv > >How-To-Repeat: Setup a ScriptAliasMatch line like mine with 1.3.3 Sorry, web server is inaccessible to the outside world. >Fix: Nope. >Audit-Trail: From: Jeff Blaine To: apbugs@hyperreal.org, apache-bugdb@apache.org Cc: Subject: Re: mod_alias/3201: ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cgi/$2" does not work Date: Tue, 13 Oct 1998 15:15:18 -0400 I suck. Not a bug. Found the error :) Sigh. Missing beginning double-quote on the final argument to ScriptAliasMatch I was SURE I had found something to occupy your infinite spare time... In message <19981013184000.1202.qmail@hyperreal.org>you write: >Thank you very much for your problem report. >It has the internal identification `mod_alias/3201'. >The individual assigned to look at your >report is: apache. > >>Category: mod_alias >>Responsible: apache >>Synopsis: ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cg >i/$2" does not work >>Arrival-Date: Tue Oct 13 11:40:00 PDT 1998 State-Changed-From-To: open-closed State-Changed-By: manoj State-Changed-When: Tue Oct 13 15:49:43 PDT 1998 State-Changed-Why: user error Class-Changed-From-To: sw-bug-mistaken Class-Changed-By: manoj Class-Changed-When: Tue Oct 13 15:49:43 PDT 1998 >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]