LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do i access the files in my CGI-BIN (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-access-the-files-in-my-cgi-bin-48193/)

rhuser 03-04-2003 09:24 AM

How do i access the files in my CGI-BIN
 
Hi

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

Cheers

Crashed_Again 03-04-2003 10:35 AM

Usually to access the cgi-bin you would go to:

http://localhost/cgi-bin

JStew 03-04-2003 04:33 PM

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'


All times are GMT -5. The time now is 01:22 PM.