httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Atkinson <fatkin...@mishmash.com>
Subject Re: CGI in users own dirs
Date Thu, 01 Jan 1970 00:00:00 GMT
    Sounds like a permissions problem to me.  

    Try using chmod to change the permissions on that directory (and
the files in it) to 755.  



                                            Fred 

>Date: Wed, 12 Dec 2001 03:28 -0500 (EST)
>From: "W i l l y" <willyrulz@hotmail.com>
>To: users@httpd.apache.org
>Mailing-List: contact users-help@httpd.apache.org; run by ezmlm
>Reply-To: users@httpd.apache.org
>list-help: <mailto:users-help@httpd.apache.org>
>list-unsubscribe: <mailto:users-unsubscribe@httpd.apache.org>
>list-post: <mailto:users@httpd.apache.org>
>Delivered-To: mailing list users@httpd.apache.org
>Subject: CGI in users own dirs
>
>Hey all.
>Okay I'm trying to set up a cgi-bin directory inside each users own 
>directory, ie
>localhost/~user/cgi-bin/, and to let them run scripts from there.
> I 
>followed the instructions in the FAQ, and nearly everything works.  All the 
>users have their own pages now, but if I try to open the CGI scripts, I get 
>error 403, Forbidden.  A glance at the logs show that 'Options ExecCGI is 
>off in this directory: /home/user/public_html/cgi-bin/hello.cgi'.  The 
>relevant parts of httpd.conf look like:
><Directory /home/*/public_html/cgi-bin/>
>        Options ExecCGI SymLinksIfOwnerMatch
>        SetHandler cgi-script
>        AllowOverride None
>        Order allow, deny
>        Allow from all
></Directory>
>
><Directory /home/*/public_html/>
>        AllowOverride FileInfo AuthConfig Limit
>        Options MultiViews IncludesNoExec Indexes SymLinksIfOwnerMatch
></Directory>'
>So it all seems correct to me, but I still get the 403's.  The cgi file 
>works under localhost/cgi-bin/hello.cgi, but not under the users 
>directories.  Anyone have any ideas?
>Thanks
>
>
>
>
>_________________________________________________________________
>Join the world’s largest e-mail service with MSN Hotmail. 
>http://www.hotmail.com
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message