httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Andrews <>
Subject Re: [users@httpd] simple newbie
Date Thu, 13 Jan 2011 14:35:32 GMT
On Fri, Jan 14, 2011 at 1:13 AM, Joost de Heer <> wrote:
> - Is there a special reason why you want to use .htaccess instead of
> adding the directive to the central configuration?

no, not really...

so i tried adding:

<Directory /var/www>
 Options +ExecCGI
 AddHandler cgi-script .cgi

to /etc/apache2/apache2.conf


  sudo /etc/init.d/apache2 restart

then when

   wget localhost
--2011-01-14 01:32:09--  http://localhost/
Resolving localhost... ::1,
Connecting to localhost|::1|:80... failed: Connection refused.
Connecting to localhost||:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2011-01-14 01:32:09 ERROR 403: Forbidden.

and the log says:

[Fri Jan 14 01:32:54 2011] [error] [client] Options
ExecCGI is off in this directory: /var/www/index.cgi

thank you for your patience,


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

View raw message