Quisp uses that web server, its "nullhttpd" package.
I seem to recall that nullhttpd have virtually no documentation.
I also vaguely recall GuestToo getting some other web servers going, I think reported on the old forum.

Joined: 18 May 2005Posts: 11132Location: The Peoples Republic of California

Posted: Fri 27 May 2005, 09:27 Post subject:
Thanks

Thank you Barry. The configuration file gives a little hint about how it works. I copied the necessary files to another directory under root/.usr/ghttpd

I don't know cgi so I didn't setup a cgi directory. I just want it simple. You can run the web server on any port you want. So far it tests good. Maybe GuestToo will give his recommendation about what he things would be best to use.

i had a Monkey roxapp package uploaded at one time ... i could make it a dotpup

it used to be nullhttpd had a security hole, but they fixed it, so i think nullhttpd and monkey are about the same ... monkey has some security advisories, but they are just about the default cgi files, and they don't work in Puppy anyway (no Perl or PHP)

you can easily disable the cgi anyway

they say it's better to not run servers as root
you can su spot and run the server as spot ... you may need to put your config files in /root/spot though

my monkey roxapp ran as spot

it is very easy to setup and use
basically, put your web files in ghttpd/htdocs
you can put other files like zip files, mp3s, pictures in there too and they can be downloaded from your server

httpd doesn't have a convenient way to run/stop it though
i did make an xmessage script to start/stop the server ... i have it somewhere

you could make 2 scripts, and drag them to the desktop to create shortcuts, or put them in the menu, or just open the folder and click them ... these 2 scripts are about as simple as you can get:

From the CGI-BIN you can run scripts , such as Quinsp is , as Perl , Xbasic and others as Peu or Euphoria also compiled C programs .
PHP may be a problem because its run normely from the doc directory .
I didn't have the time to find out how to do it . I ame running the Lampp that is a compilation of PHP Perl Appache and some more . The only disadvantage is that it very large .

I've built a fully dynamic website using quisp and shsql that come packaged with puppy. All content from the website is stored in the shsql database and retrieved using quisp page code. I've found there are a few niggly little issues, but all can be overcome. I initially had problems with quisp not serving images, but this was resolved by using the full html url of the image in the <img src=""/>, rather than the relative path on the server.

eg "http://www.cooma.biz.tm/banner.png"

rather than "banner.png"

This is a lot slower (on my machine and connection), but it works. If you figure out a better way, please let me know

There is heaps of info available on how to set up a quisp website - Barry has provided some. If you go to Information Managers -> Quisp... and click on the examples link; there is enough to get you started.

I have just used Null httpd on Puppy, but I think Apache is a more secure choice for a production system.

sorry about the delay in replying... I've been flat out with study, and haven't had much time for the fun things in life.

my website can be found at www.cooma.biz.tm

(or it will be in a few minutes... I'm testing the mono::live cd on my server machine at the moment)

I'm playing around with the styles at the moment, so it isn't very pretty, and I am in the middle of building a content management system. The skeleton is there, though. I am running the web server as a user (db). I'd be grateful for any feedback

Monkey will run as root if you change the line in AppRun from:
su -c $SM - nobody &
to $SM &

Unfortunately, it doesn't seem to have worked for me, as port 80 is still refused. I tried it with nulllhttp and I can acces port 80. Any help would be appreciated, as I'm still somewhat new to Linux in general.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum