The time now is Sun 26 May 2013, 05:27
All times are UTC - 4 |
| Author |
Message |
leegold
Joined: 13 Jul 2009 Posts: 11
|
Posted: Tue 18 May 2010, 01:33 Post subject:
How to configure Hiawatha web server? |
|
I thought if I type Hiawatha on the cmd line of a Puppy PC and w/another pc on my intranet/home network type the IP of the PC running Puppy and Hiawatha, then I will get served index.html on the other client PC. But instead it can't get the page served. I can ping the Puppy PC Ok but can't get Hiawatha to serve the page. Typing localhost on the Puppy PC brings up index.html - so at least that works.
Wondered if there's anything else besides starting Hiawatha I should do? Using 4.31.
Thanks
|
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: Tue 18 May 2010, 02:09 Post subject:
|
|
Edit /etc/hiawatha/httpd.conf
Comment the line where it says Interface = 127.0.0.1
then restart hiawatha.
_________________

|
|
Back to top
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 642
|
Posted: Thu 03 Jun 2010, 17:21 Post subject:
|
|
Newer versions of hiawatha apparently use /etc/hiawatha/hiawatha.conf instead of /etc/hiawatha/httpd.conf, although the old file is still there. On Puppy 4.3.1 I had to use the new file.
Also, if you are only interested in serving hosts on your local network, not the Internet, and you connect to the Internet via a different host than the one you use to connect to your local network (for instance, if you connect with dial-up), you might consider changing the value of Interface to the address of your local network interface rather than just eliminating the Interface line. That way hiawatha will only accept connections through that interface, not all interfaces. (Of course, if you connect to the Internet via a router on your local network, all traffic flows through the same interface, so it is up to the firewall in your router to block or allow http connections.)
If you do change the Interface line, rather than eliminate it, remember that the localhost URL will no longer work, you'll need to use your Puppy's local network IP address (or the equivalent host name you have assigned it).
A recent post from CoffeaRobusta explains more: How I set up a Hiawatha web server with Puppy
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0494s ][ Queries: 12 (0.0162s) ][ GZIP on ] |