?
Solved

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

Posted on 1997-09-25
2
Medium Priority
?
317 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 300 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
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…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

650 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