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>