Hi Motty, On Fri, Oct 29, 2010 at 9:11 AM, motty.cruz <motty.cruz@xxxxxxxxx> wrote: > Hello, > I'm trying to get apache to execute cgi scripts outside cgi-bin > directory(/usr/local/www/cgi-bin) instead I want to run scripts from > /usr/local/www/directory. I google it but most furums are for Linux. My > machine is a FreeBSD 8.1 running Apache 1.2 > Any help is appreciated. You have to explicitly allow CGI execution <Directory /usr/local/apache2/htdocs/somedir> Options +ExecCGI </Directory> Refer to http://httpd.apache.org/docs/2.0/howto/cgi.html --------------------------------------------------------------------- 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