?
Solved

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

Posted on 2010-08-17
6
Medium Priority
?
604 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:theposse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:nitinsawhney
ID: 33461897
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
0
 

Author Comment

by:theposse
ID: 33463076
Hello, the platform the server is running on is Windows 2008 R2.
0
 
LVL 15

Expert Comment

by:samri
ID: 33463089
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.

0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:theposse
ID: 33479007
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?
0
 
LVL 15

Expert Comment

by:samri
ID: 33756700
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.
0
 
LVL 15

Accepted Solution

by:
samri earned 2000 total points
ID: 33756765
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question