Revision [15489]

This is an old revision of Hiawatha made by coolpup on 2011-06-15 03:08:22.


 (image: Hiawatha Web server

useful addresses (your router) (computer 1) (computer 2)
these numbers vary depending on how they are connected to the router

Setup Linux-Firewall Wizard and enable Http Web Server using the custom option

Run Hiawatha by typing hiawatha at the conole
To stop the server, type in killall hiawatha
In /root/Web-Server the file index.html can be a test web page
hiawatha -k = config file check

The file

should have something like so:
ServerId = webuser
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log

Binding {
	Port = 80
	Interface =

Hostname =
WebsiteRoot = /root/Web-Server
StartFile = index.html
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log

#add this stuff to get a perl script working (pplog)...
#QUISP has a binary executable CGI named 'quisp.bin'...
MimetypeConfig = /etc/mime.types
CGIhandler = /usr/bin/perl:pl
CGIextension = pl,bin
ExecuteCGI = yes
#QUISP puts %0D, %0A (carriage-return, line-feed) chars in the url
#(v128), to allow chars below ascii 32 need this...
SecureURL = no

Interface =

Note these settings:
Hostname = (this is your IP address)
WebsiteRoot = /root/Web-Server
StartFile = index.html (create this and put in some content)

Ensure necessary permissions for /dev/null:
chmod a+w /dev/null

There is one comment on this page. [Display comment]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki