LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   form processor (https://www.linuxquestions.org/questions/linux-networking-3/form-processor-3219/)

dilberim82 06-09-2001 02:04 PM

hey,
I downloaded a form processor program from the net and i installed it and put all the files where they are supposed to be. Now, when i put the form on my webpage, i have to give the full path of the perl program. The question is how do i give the full path of the program. Should i say "http://myip/root/usr/local/apache2/cgi-bin/form_processor.pl" or what? I tried like everything i can not seem to figure it out.

mcleodnine 06-09-2001 02:23 PM

Quote:

Originally posted by dilberim82
hey,
I downloaded a form processor program from the net and i installed it and put all the files where they are supposed to be. Now, when i put the form on my webpage, i have to give the full path of the perl program. The question is how do i give the full path of the program. Should i say "http://myip/root/usr/local/apache2/cgi-bin/form_processor.pl" or what? I tried like everything i can not seem to figure it out.

Check that the permissions for the 'form_processor.pl' are owned by <whoever is supposed to on them> (wwwrun/nogroup on my cgi-bin stuff)

Where did you put the pl script?

dilberim82 06-09-2001 11:46 PM

I put the pl file in the cgi-bin. its located in /root/usr/local/apache2/cgi-bin and the permissions are ok. thanks for the reply.

mcleodnine 06-09-2001 11:57 PM

Quote:

Originally posted by dilberim82
I put the pl file in the cgi-bin. its located in /root/usr/local/apache2/cgi-bin and the permissions are ok. thanks for the reply.
why under /root?

what is your DocumentRoot setup in httpd.conf?


dilberim82 06-10-2001 12:02 PM

My document root is */usr/local/apache2/htdocs*
and the cgi-bin is in htdocs so i thouhgt i should just put
http://myip/cgi-bin/form_processor.pl but it does not work. Thanks for replying.


All times are GMT -5. The time now is 02:59 AM.