httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Kruer" <>
Subject RE: [users@httpd] Options ExecCGI is off in this directory -- But I have Options ExecCGI in <Directory>
Date Thu, 22 Jan 2004 18:21:20 GMT

Thanks for the tip.  

I added that to the end of my .conf file and it worked correctly!  At
least for the index.cgi.  When I tried to go to another .cgi file, I got
the same errors.  I modified the entry to look like this
<Location /bugzilla/*.cgi>
Options +ExecCGI
And it worked for all .cgi files directly under the bugzilla directory.

However, I don't see anywhere that there is another
<Directory>/<Files>/<Location>, etc, that match to bugzilla entry or the

I know that you wanted me to post it to a website, however, I only have
access to this internal website and not one that is accessible to the
public.  I have attached my httpd.conf file to this email.  If anyone
can let me know why this last entry is required, I would really
appreciate it.


-----Original Message-----
From: Joshua Slive [] 
Sent: Thursday, January 22, 2004 1:06 PM
Subject: Re: [users@httpd] Options ExecCGI is off in this directory --
But I have Options ExecCGI in <Directory>

On Thu, 22 Jan 2004, Jeremy Kruer wrote:
> "Options ExecCGI is off in this directory:
> /var/www/html/bugzilla/index.cgi"

> AddHandler cgi-script .cgi
> <Directory /var/www/html/bugzilla">
>   Options ExecCGI
>   AllowOverride Limit
>   Order allow,deny
>   Allow from all
> </Directory>

> I don't understand what I am doing wrong.  From what I have read, if
> have Options ExecCGI in the directory and you have the AddHandler
> cgi-script .cgi then it should work.  Can someone help me figure out
> what I am doing wrong?

Your technique looks basically correct.

Do you have any other <Directory>/<Files>/<Location>, etc, blocks that
match the bugzilla entry or the index.cgi?  If so, do they have any
Options directives?

Just on a whim, try adding this to the END of you httpd.conf:

<Location /bugzilla/index.cgi>
Options +ExecCGI

That should not be necessary.  If it works, it means there is another
Options directive someplace overriding your first one.

Also, are there any symbolic links involved in this path?

If none of that helps, you may want to place your httpd.conf on a
someplace where we can look at it.


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

View raw message