Link to home
Start Free TrialLog in
Avatar of theposse
theposse

asked on

Why am I getting "Options ExecCGI is off in this directory" error in my Apache logs?

Hello, in my apache error logs, I am getting messages such as this:

[Wed Aug 18 00:51:59 2010] Options ExecCGI is off in this directoryD:/WWW/htdocs/teacherpages/cgi-bin/secure/login.pl

Yet, in my httpd.conf file, I've got the following section added:

<Directory "D:/WWW/htdocs/teacherpages">
    Options +ExecCGI
</Directory>

And further down:

AddHandler cgi-script .cgi .pl .asp

I've restarted Apache several times after making changes.  And, as an FYI, if you browse to any HTML page that is in the teacherpages folder or subfolder, they come up just fine.

I'm not sure what I'm missing.  I am using the latest version of Apache.

If additional information is needed, please let me know.
Avatar of nitinsawhney
nitinsawhney
Flag of India image

Please share what platform you are running the server on.

Also, this article deals with the same problem see if you have the same issue, read the comment from Mathew, http://ubuntuforums.org/showthread.php?t=717047
Avatar of theposse
theposse

ASKER

Hello, the platform the server is running on is Windows 2008 R2.
hi ThePosse,

The link provided Nitisawhney is very intersting.

Most important: The Operating System, and Apache version would be very useful to course the next action.

From the note, this looks like a Apache on Windows. From the directory naming, D:/WWW/htdocs/teacherpages/

In general, the problem could be cause by another config section.  Look in apachec confuguration directory -- typically in c:\program files\apache foundation\apache2\conf, and check if any configuration section/files that could have redefined the Options tag.

Samri,

Thanks for the comment.  The apache is located at d:/www/apache and the httpd.conf file is at d:/www/apache/conf.  I'm not seeing anything that would have changed the options tag but I'm not an Apache guru.  Would it help to attach my httpd.conf file to be looked at?
that would be useful.  However, I am not able to commit that I would have much resources (time) to go thru. :(

However, there may be other members that have a few minutes to spare to look at that.
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial