| Author |
Message |
JamesTheAwesomeDude

Joined: 29 Jan 2013 Posts: 99 Location: Classified
|
Posted: 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
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 640
|
Posted: Thu 28 Feb 2013, 10:27 Post subject:
|
|
What version of hiawatha do you have?
| 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
|
|
 |
JamesTheAwesomeDude

Joined: 29 Jan 2013 Posts: 99 Location: Classified
|
Posted: Thu 28 Feb 2013, 11:33 Post subject:
|
|
I'm running the default included with Slacko Puppy 5.4.
...it's v6.17.1
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
|
|
 |
JamesTheAwesomeDude

Joined: 29 Jan 2013 Posts: 99 Location: Classified
|
Posted: 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!!!
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
|
|
 |
rockedge

Joined: 11 Apr 2012 Posts: 6 Location: Connecticut, United States
|
Posted: 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
|
|
 |
JamesTheAwesomeDude

Joined: 29 Jan 2013 Posts: 99 Location: Classified
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
|