Thread: perl for kindle
View Single Post
Old 02-17-2012, 01:10 AM   #21
sjheiss
Connoisseur
sjheiss began at the beginning.
 
Posts: 58
Karma: 26
Join Date: Dec 2011
Device: K3G, KF2
Quote:
Originally Posted by ixtab View Post
Ah well, I just tried it, and it works correctly.

bozohttpd itself:
Code:
[root@kindle tmp]# find /mnt/us/www/
/mnt/us/www/
/mnt/us/www/cgi-bin
/mnt/us/www/cgi-bin/test.pl
/mnt/us/www/docroot
/mnt/us/www/docroot/index.html

[root@kindle tmp]# ./bozohttpd -s -X -f -b /mnt/us/www/docroot/ -c /mnt/us/www/cgi-bin/
started in daemon mode as `kindle' port `http' root `/mnt/us/www/docroot/'
got request ``GET /cgi-bin/test.pl HTTP/1.1'' from host localhost.localdomain to port 80
Well, I tried your command, and I still get the error of not being able to enter the cgi-bin directory. Does this not happen to you?

Although, now if I try my index program, instead of trying to download the index.cgi when you click the Submit button, it just says it can't load the page. As they say, sometimes progress is just getting a different error.

Also, when I try that command in WinSCP, it crashes the program, but works on my Kindle. It's about time I start using Linux a lot, I think.

Last edited by sjheiss; 02-17-2012 at 01:17 AM.
sjheiss is offline   Reply With Quote