Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-23-2004, 12:54 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
cgi-bin outside httpdocs tree

I've heard that it's a good idea to put cgi-scripts outside the html-tree and so I am trying to do so. I've searched the web to get my question answered, but with no luck.

This is what i want to do:

I know there is something I have to do in the httpd.conf file, I just don't know how to do it.

Sites on my whitebox are under /home/sites/theurl/web

I guess there are more people looking for this out there,.


Old 04-23-2004, 01:21 PM   #2
Registered: Jan 2004
Location: NH
Distribution: Mandrake, Geentoo, Ubuntu
Posts: 105

Rep: Reputation: 15
I will assume that you are using Apache.

Try adding a 'ScriptAlias' into your config file as described here:


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cgi-bin Cool_Hand_Luke Linux - Newbie 3 04-02-2005 04:32 PM
CGI to work out side of cgi-bin? crashedspine Linux - Newbie 13 09-02-2004 09:49 PM
Cgi-bin Llwyd Linux - Networking 3 03-01-2003 02:46 PM
arghh!! cgi-bin help harry_nutt Linux - Software 3 11-09-2002 09:16 PM rverlander LQ Suggestions & Feedback 1 06-07-2002 08:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 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