httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: CGI Issue
Date Thu, 27 Dec 2001 16:52:41 GMT

> From: Lawrence, Sean []

> I thought I setup Apache correctly to use CGI
> I set up a user then added that user as User and Group in Apache,
> docroot is
> set to that users home directory.  I then setup the vhost and the line
> Options ExecCGI
> AddHandler cgi-script .cgi
> But when I try to view any files *.cgi it throws a 403 and the
> log says that
> ExecCGI isn't turned in that directory
> The files are permissioned correctly.
> Anybody have an idea?

Can you tell me specifically what documentation you are reading?  I have
seen this problem MANY times over the past few months, and if you are
reading something in the apache documentation, then it needs to be improved.

Anyway, the problem is that you don't properly understand how the Options
directive works.  See for
all the details.

The important point is that Options directives that apply to particular
<Directory>s will override an Options directive applying in the main server
or <VirtualHost> context.  So you need to either add "ExecCGI" to the
Options that already applies to the relevant <Directory> or add something

<Directory /full/path/to/directory>
Options +ExecCGI


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

View raw message