Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
The viewer will learn how to count occurrences of each item in an array.
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.

911 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

19 Experts available now in Live!

Get 1:1 Help Now