On Fri, Aug 22, 2008 at 7:51 AM, Valerio Pachera <sirio81@xxxxxxxxx> wrote: > http://httpd.apache.org/docs/2.2/howto/cgi.html > To allow CGI program execution for any file ending in .cgi in users' > directories, you can use the following configuration. > > <Directory /home/*/public_html> > Options +ExecCGI > AddHandler cgi-script .cgi > </Directory> > > If you wish designate a cgi-bin subdirectory of a user's directory > where everything will be treated as a CGI program, you can use the > following. > > <Directory /home/*/public_html/cgi-bin> > Options ExecCGI > SetHandler cgi-script > </Directory> > ----------------- > > Why in the second case "SetHandleer" is used instead of "Addhandler" ? Because the second option already has a cgi-bin/ subdirectory on the URL -- so everyhting should be treated as CGI not just certain files. > And why "execCGI" does not have the "+" in front? It's clearing all the other options. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx