Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-20-2003, 01:03 PM   #1
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
apache v2.0.44 + cgi ; securing cgi-support in apache

Is it possible to secure cgi in Apache v2.0.44 so that things like:


echo Content-Type: text/plain

cat /etc/passwd
simply don't work ?
I would like to restrict it to open only FILES IT OWNS and nothing else ... well the ideal situation would be setting a path on a virtual host basis where files could be accessed ... everything not being in that base path couldn't be accessed. Like path in the virtual host would be


and then files in the subpath of can be accessed ... like for instance


but files residing in


can't be accessed ...

Anybody has some kind of solution, hints, etc ?

Last edited by markus1982; 01-20-2003 at 01:12 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
does apache support cgi scripts and how to run them abhis_mail2002 Fedora 3 03-15-2005 04:37 AM
apache and cgi hward Linux - Newbie 5 06-09-2004 03:53 AM
cgi with apache ApacheMan252 Linux - Software 27 02-26-2003 07:41 PM
apache-cgi j-ray Linux - Software 1 12-12-2002 03:31 PM
About cgi , pl. in apache.... raymond Linux - General 1 11-11-2002 09:22 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration