Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-04-2003, 08:24 AM   #1
Registered: Jan 2003
Posts: 55

Rep: Reputation: 15
How do i access the files in my CGI-BIN


How do i access the files in my CGI-BIN, when my web site data is stored in /htdocs (a different directory).

/home/httpd/htdocs/index.html web site files
/home/httpd/cgi-bin/ cgi files

Old 03-04-2003, 09:35 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Usually to access the cgi-bin you would go to:

Old 03-04-2003, 03:33 PM   #3
Registered: Oct 2002
Location: North Atlanta
Distribution: LFS
Posts: 229

Rep: Reputation: 30
im assuming you are using apache...

in httpd.conf youll probably need to set up a directory called 'cgi' ... you should reference it as /httpd/cgi-bin/
then whenever you're writing your code you can reference it simply by calling 'cgi'


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
Can not access cgi-bin from browser. Spreegem Linux - Software 6 11-07-2005 07:22 PM
Cannot access cgi-bin directory for Nagios hywaydave23 Linux - Software 1 10-12-2005 06:16 AM
Ftp access To Cgi-bin redhatlover Red Hat 3 05-04-2004 04:32 AM
no access to cgi-bin within Apache Mackeral Linux - Software 6 05-14-2002 05:15 AM
no access to cgi-bin j-ray Linux - General 0 04-01-2002 07:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 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
Open Source Consulting | Domain Registration