Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SuSE 8.1 Professional and CGI Problems

Status
Not open for further replies.

tbohon

Programmer
Apr 20, 2000
293
US
(Duplicate of post in Linux forum)

I'm having a bit of a problem with my SuSE 8.1 install and running CGI programs (in Perl, of course <g>). Seems that it either can't find the xxx.cgi file or it asks for the program to use - but doesn't recognize /usr/bin/perl when I choose it.

Am wondering if I'm missing something. I've been putting my .html file (which has a form calling the .cgi as it's action) in /srv/ and addressing it as . Meanwhile the actual .cgi program is in the cgi-bin directory (/srv/ and I've called it with an explicit path ( Since my system is a one-user, non-networked system I changed permissions on /srv/ 777 - wouldn't do that if anyone else was able to access the system, of course, but it's just me here.

So - any ideas on what I'm doing wrong? Am I mis-addressing things somehow? I can send the two files I have it that will help anyone - didn't want to cut and paste it here unless it's needed.

Thanks in advance.

Tom
 
Try addressing the action as &quot;/cgi-bin/myscript.pl&quot; and see if that helps.

Can you ping localhost on your machine?

HTH Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top