On Mon, 17 Jun 2002, Pankaj Jangid wrote:

> On Mon, Jun 17, 2002 at 09:19:16AM +0530, Goldwyn Rodrigues wrote:
> > What I want is that all users have their own directory cgi-bin in their
> > public_html directory and the scripts can be executed from there only.
> 
> <Directory /home/<user_name>/public_html/>
>       AllowOverride None
>       Options ExecCGI
>       Order allow,deny
>       Allow from all
> </Directory>
> 
> You can put * also in place of <user_name> to allow users to put cgi
> scripts in there cgi-bin directories.


I think better would be:

<Directory /home/*/public_html>
        Options Includes Indexes FollowSymLinks
        ...
</Directory>

<Directory /home/*/public_html/cgi-bin>
        Options ExecCGI
</Directory>


-- 
        "What terrible way to die."
        "There are no good ways."
                -- Sulu and Kirk, "That Which Survives", stardate unknown


_______________________________________________
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to