Solved

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

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
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 video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

696 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