Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 18:51
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to configure Hiawatha web server?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
leegold

Joined: 13 Jul 2009
Posts: 11

PostPosted: 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
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2715
Location: Montenegro

PostPosted: 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.

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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.0457s ][ Queries: 11 (0.0040s) ][ GZIP on ]