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 21 Dec 2014, 11:31
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 Posts_count  
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: 2720
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_website MSNM 
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0427s ][ Queries: 11 (0.0031s) ][ GZIP on ]