LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2007, 04:33 AM   #1
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Rep: Reputation: 21
cgi-bin question


Hello,

I'm running Debian Etch, and Installing a piece of software which requires me to place a few scripts in the cgi-bin/ directory.

I've installed apache2 using apt-get, but the cgi-bin directory is nowhere to be found. Do I just create it?

Any help appreciated.
 
Old 09-18-2007, 09:07 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Yes, if necessary. There is an entry in the httpd.conf file which you use to describe the location of the cgi-bin directory. Obviously, the actual location must be where the config file specifies it. I think the conventional default is usually at the top of the document-root directory. Eg:
Code:
/var/www/httpd/         <<<<<<< document-root
    +---- html
    +---- cgi-bin
    +---- ...

The permissions on the directory and its contents must allow the server to execute the programs & scripts in the cgi-bin directory.

--- rod.

Last edited by theNbomr; 09-18-2007 at 09:09 AM.
 
  


Reply



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 security question greyhammer Linux - Security 0 08-03-2005 03:24 PM
Apache Newbie cgi-bin question Jukas Linux - Newbie 2 04-28-2005 12:32 PM
cgi-bin Question kemplej Linux - Networking 2 11-23-2004 09:54 AM
Question on virtual hosts and CGI-BIN directory cgchris99 Linux - General 9 10-11-2002 11:57 AM
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:33 PM.

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
Open Source Consulting | Domain Registration