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 Wed 26 Nov 2014, 00:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to use Hiawatha's Reverse Proxy?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
JamesTheAwesomeDude


Joined: 29 Jan 2013
Posts: 99
Location: Classified

PostPosted: Thu 28 Feb 2013, 00:17    Post_subject:  How to use Hiawatha's Reverse Proxy?  

I'm trying to use Hiawatha as a "proxy" filterer for my Transmission Web Interface (basically, just something to provide HTTPS,) and here's what I've got:

/etc/hiawatha/hiawatha.conf:
Code:
ServerId = webuser
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log
 
Binding {
   Port = 80
   Interface = 0.0.0.0
#Interface = 127.0.0.1
}
 
Binding {
   Port = 443
   SSLcertFile = /serverkey.pem
}
 
Hostname = 127.0.0.1
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
VirtualHost {
   # My subdomain:
   Hostname = torrent.*******************.**
   # Transmission Web Interface is running at port 8080
   ReverseProxy .* http://127.0.0.1:8080/
   # THAT ^ line always says syntax error. I don't now why.
   # Don't want the Feds breaking down my door, do we? ;) JUST KIDDING.
   RequireSSL = yes
}


So what do I need to put there? The official instructions are here, but I can't make anything work. (Scroll about 5/8 of the way down the page, or CTRL-F for "Reverse".)

_________________
Version 27. Dotpet. Click here.
(SFS available too!)

Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Thu 28 Feb 2013, 10:27    Post_subject:  

What version of hiawatha do you have?
Code:
hiawatha -v

Hiawatha Changelog wrote:
hiawatha (8.3) stable; urgency=low

ReverseProxy option added.
PolarSSL updated to version 1.1.3.

-- Hugo Leisink <hugo@leisink.net> Wed, 23 May 2012 18:11:56 +0200
Back to top
View user's profile Send_private_message 
JamesTheAwesomeDude


Joined: 29 Jan 2013
Posts: 99
Location: Classified

PostPosted: Thu 28 Feb 2013, 11:33    Post_subject:  

I'm running the default included with Slacko Puppy 5.4.

...it's v6.17.1 Embarassed


Where can I find an updated version of it? The site only offers useless source code. There are some unofficial ports, including some for Slackware, but I coudn't figure out how to install it. Could somebody provide a dotpet?

_________________
Version 27. Dotpet. Click here.
(SFS available too!)

Back to top
View user's profile Send_private_message 
JamesTheAwesomeDude


Joined: 29 Jan 2013
Posts: 99
Location: Classified

PostPosted: Thu 28 Feb 2013, 11:53    Post_subject:  

Just for fun, I tried installing the i686 Debian package, and...IT INSTALLED!

hiawatha -v said 8.8, the latest version.

After some fiddling around with the domain settings, Transmission's security settings, and a few other things, I GOT IT WORKING!!! Very Happy

Now, *******************.tk and www.*******************.tk give a web server, but torrent.*******************.tk gets you to the Transmission Web interface (after authorization, of course,) WHICH LOADS IN HTTPS!

_________________
Version 27. Dotpet. Click here.
(SFS available too!)

Back to top
View user's profile Send_private_message 
rockedge


Joined: 11 Apr 2012
Posts: 45
Location: Connecticut, United States

PostPosted: Thu 28 Feb 2013, 11:54    Post_subject: slacko Hiawatha 8.8
Sub_title: package to upgrade Hiawatha
 

http://slackbuilds.org/result/?search=hiawatha&sv=

I used the Debian package installed by PET manager on Lucid 5.2.8 worked right away. I have not tried on Slacko yet.
Back to top
View user's profile Send_private_message Visit_website 
JamesTheAwesomeDude


Joined: 29 Jan 2013
Posts: 99
Location: Classified

PostPosted: Thu 28 Feb 2013, 19:28    Post_subject: Re: slacko Hiawatha 8.8
Sub_title: package to upgrade Hiawatha
 

rockedge wrote:
http://slackbuilds.org/result/?search=hiawatha&sv=

I used the Debian package installed by PET manager on Lucid 5.2.8 worked right away. I have not tried on Slacko yet.
PPM in Slacko doesn't have any results for "hiawatha" or even "hia". Everythink at that link for Slackware builds is out of date (latest one there is 8.3; current latest version of Hiawatha is 8.8,) but the Debian package works like a charm (even on Slacko!) and is completely up-to-date.
_________________
Version 27. Dotpet. Click here.
(SFS available too!)

Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 28 Feb 2013, 20:07    Post_subject:  

Thanks for reminding me, I need to update hiawatha.. I am running 8.6 on my server.
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
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.0614s ][ Queries: 12 (0.0074s) ][ GZIP on ]