On Fri, Jan 14, 2011 at 1:13 AM, Joost de Heer <joost@xxxxxxxxxxxxxxxxx> 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 </Directory> to /etc/apache2/apache2.conf and sudo /etc/init.d/apache2 restart then when wget localhost --2011-01-14 01:32:09-- http://localhost/ Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:80... failed: Connection refused. Connecting to localhost|127.0.0.1|: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 192.168.1.3] Options ExecCGI is off in this directory: /var/www/index.cgi thank you for your patience, jack. --------------------------------------------------------------------- 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