Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
?
609 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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

610 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