Solved

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

Posted on 2010-08-17
6
599 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 500 total points
ID: 33756765
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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…

738 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