cgi problems on solaris

Support for services available to Shell account users.

Moderator: Moderators

cgi problems on solaris

Postby lauro » Wed Sep 21, 2005 4:16 pm

A while ago I guess I deleted my cgi-bin dir, now I´m trying to run a simple cgi script (printenv from /usr/local/apache/cgi-bin, helloword.pl such things), but I´m not sure where the problem is. I have
~/public_html 0775 lauro nobody
~/public_html/cgi-bin 0755 lauro others, and the scripts are all a+x, I also tried ~/cgi-bin/, did not remember where it was.
CGIWrap finds it when scripts are located at ~/public_html, (../cgiwrapd/..), but when I visit ../cgiwrap/lauro/script.pl or nph-cgiwrap/ (a script to handle binary output such as images) I get an Internal Server Error

I tried http://www.polarhome.com:723/cgi-bin/cg ... rintenv.pl (for ~/public_html/printenv.pl)
lauro
Newbie
 
Posts: 2
Joined: Wed Sep 21, 2005 3:52 pm

Postby zoli » Wed Sep 21, 2005 9:44 pm

hi,

thank you for warning.
The problem was that cgiwrap's log file reached the maximum allowed size and it simply refused to run.

By deleting the file it continued to work as it should.

http://www.polarhome.com:723/~lauro/cgi-bin/test.cgi
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby lauro » Fri Sep 23, 2005 1:57 am

thanks, now it works just fine =)
lauro
Newbie
 
Posts: 2
Joined: Wed Sep 21, 2005 3:52 pm


Return to Shell accounts

Who is online

Users browsing this forum: No registered users and 5 guests

cron