Solved

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

Posted on 1997-09-25
2
305 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

705 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

20 Experts available now in Live!

Get 1:1 Help Now