Solved

CERN/3.0pre6 (W3C httpd) - /cgi-bin/ problem

Posted on 1997-09-25
2
313 Views
Last Modified: 2013-12-25
We use CERN/3.0pre6 (W3C httpd) and we are at this moment experiencing problems with our /cgi-bin/ directory. We are able to execute scripts in the /cgi-bin/ directory, but NOT in any of its sub-directories (i.e. /cgi-bin/test/). Is it possible to allow execution in the sub-directories? If so, how do we allow it?

In the httpd.conf file we found this line:
exec /cgi-bin/* /usr/inetserv/www/hosts/0/cgi/*

Is it possible to allow executions in a sub-directory called i.e. "test", if we add a similar line but with another path (example below)?

exec /cgi-bin/* /usr/inetserv/www/hosts/0/cgi/*
exec /cgi-bin/test/* /usr/inetserv/www/hosts/0/cgi/test/*

If this work, the problem may be that is very inefficient to change the httpd.conf file every time we want to allow a new sub-directory´s content to be executed. So if you know of any other way to allow execution in new sub-directories (without editing the httpd.conf file every time), we appreciate it.

Thanks in advance.

Henrik Larsson (thornbush)
0
Comment
Question by:thornbush
[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
2 Comments
 
LVL 1

Accepted Solution

by:
gabsi earned 100 total points
ID: 1855174
It works fine if you dont use a subdirectory of a used directoryi:you can't use/cgi-bin/ and /cgi-bin/subdir
Exec    /cgi-bin/*      /www/bin/*
Exec    /Script/Oracle/*   /www/bin/Oracle/*
Exec    /Script/session/*  /www/bin/session/*
0
 

Author Comment

by:thornbush
ID: 1855175
I hope that this work. :-)

Do I need to reboot the server after I have changed the httpd.conf file?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

719 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