LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-23-2004, 12:54 PM   #1
trondhuso
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:
theurl/cgi-bin

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,.

Yours,

Trond
 
Old 04-23-2004, 01:21 PM   #2
Linux_in_NH
Member
 
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:

http://httpd.apache.org/docs/mod/mod_alias.html
http://www.serverwatch.com/tutorials...le.php/1128971
 
  


Reply


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
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 AM.

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