You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Fred Atkinson <fa...@mishmash.com> on 2001/12/12 09:16:00 UTC
Re: CGI in users own dirs
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" <wi...@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: <ma...@httpd.apache.org>
>list-unsubscribe: <ma...@httpd.apache.org>
>list-post: <ma...@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