httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Atkinson <>
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.  


>Date: Wed, 12 Dec 2001 03:28 -0500 (EST)
>From: "W i l l y" <>
>Mailing-List: contact; run by ezmlm
>list-help: <>
>list-unsubscribe: <>
>list-post: <>
>Delivered-To: mailing list
>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 /home/*/public_html/>
>        AllowOverride FileInfo AuthConfig Limit
>        Options MultiViews IncludesNoExec Indexes SymLinksIfOwnerMatch
>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?
>Join the world’s largest e-mail service with MSN Hotmail. 
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message