Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 1438 invoked by uid 6000); 13 Oct 1998 18:40:07 -0000 Received: (qmail 1209 invoked by uid 2001); 13 Oct 1998 18:40:00 -0000 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 X-Send-Pr-Version: 3.2 Subject: mod_alias/3201: ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cgi/$2" does not work Sender: apache-bugdb-owner@apache.org Precedence: bulk >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: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Oct 13 11:40:00 PDT 1998 >Last-Modified: >Originator: jblaine@shore.net >Organization: apache >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: >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! ]