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 Mon 20 Oct 2014, 06:34
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 [7 Posts]  
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
Subject description: 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 poster's website 
JamesTheAwesomeDude


Joined: 29 Jan 2013
Posts: 99
Location: Classified

PostPosted: Thu 28 Feb 2013, 19:28    Post subject: Re: slacko Hiawatha 8.8
Subject description: 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: 7831
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 poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 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.0572s ][ Queries: 12 (0.0029s) ][ GZIP on ]