www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Blaine <jbla...@shore.net>
Subject mod_alias/3201: ScriptAliasMatch "^/~([a-z0-9]+)/bin/(.*)" /home/$1/public_cgi/$2" does not work
Date Tue, 13 Oct 1998 18:39:02 GMT

>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 <apbugs@Apache.Org> 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!         ]




Mime
View raw message