Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: perl monkey and cgi, cgi won't work< Next Oldest | Next Newest >
django Offline





Group: Members
Posts: 21
Joined: April 2005
Posted: Oct. 31 2005,12:54 QUOTE

I want to use dsl as a webserver. (monkey)
with Monkey everything works great accept cgi
I followd every rule like use ascci on cgi files, chmod 755 etc.
the *.cgi was not find on this server bla bla bah!
I chmodded the directories and cgi files to 755
I also did 777 but I keep getting the same result.
I'm now running the website on XP with perl and it works!
But I want to use DSL not that stupid XP
I can't find a good help on the subject in this forum
What's wrong with Perl It drives me crazy.
Damn small linux..... AAAARGHRR   Must get help!  please!
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Oct. 31 2005,13:55 QUOTE

django, try this.  I made the following test file as root called it tut.pl, and placed it into the /opt/monkey/cgi-bin directory (sudo beaver /opt/monkey/cgi-bin/tut.pl), :

Code Sample
#!/usr/bin/perl -wT
print "Content-type: text/html\n\n"
print "Hello World!\n"


then I ran sudo chmod 755 /opt/monkey/cgi-bin/tut.pl

I started monkey, opened dillo, and went to 127.0.0.1/cgi-bin/tut.pl and there was my page.

I hope this works for you as well.
Back to top
Profile PM 
Django
Unregistered






Posted: Oct. 31 2005,14:53 QUOTE

I did wat you sugested and dillo  and firefox produced nothing.
I have that problem with my scripts to
when I fiddle with chmod 777 it can;t be found
when I make it 755 nothing happens
I work from a harddisk install by the way.
Back to top
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Oct. 31 2005,15:03 QUOTE

What version of dsl are you using?  I don't have a hard drive install, but I can try that version with the liveCD if it helps.
Back to top
Profile PM 
django Offline





Group: Members
Posts: 21
Joined: April 2005
Posted: Oct. 31 2005,15:09 QUOTE

I use 1.5 the latest and I tried it from cd also but the result is the same.
I must be doeing somthing stupidly wrong.
You give me hope though!
Thanks for helping me.
Back to top
Profile PM 
12 replies since Oct. 31 2005,12:54 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: perl monkey and cgi

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code