Solved

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

Posted on 2010-08-17
6
591 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
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:nitinsawhney
Comment Utility
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
Comment Utility
Hello, the platform the server is running on is Windows 2008 R2.
0
 
LVL 15

Expert Comment

by:samri
Comment Utility
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:theposse
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now