Open SyRenity opened 10 years ago
mod_redirect.so exists in /usr/local/lib.
@syounger Please configure lighttpd to redirect to SSL.
@SyRenity What is the point of using SSL on a LAN network?
And what if I want to access my miner remotely, through a NAT-mapped hole?
On Wed, Mar 26, 2014 at 10:18 AM, syounger notifications@github.com wrote:
@SyRenity https://github.com/SyRenity What is the point of using SSL on a LAN network?
Reply to this email directly or view it on GitHubhttps://github.com/Spondoolies-Tech/minepeon/issues/8#issuecomment-38658998 .
This does not work, since lighttpd needs to be configured with pcre. Passing to @goytin
AFAIK we have pcre, Vladik checked it back then.
On Wed, Mar 26, 2014 at 7:33 PM, syounger notifications@github.com wrote:
This does not work, since lighttpd needs to be configured with pcre. Passing to @goytin https://github.com/goytin
Reply to this email directly or view it on GitHubhttps://github.com/Spondoolies-Tech/minepeon/issues/8#issuecomment-38714305 .
Since commit df34c17 there is PCRE support in lighttpd.
@Simha, please update how it works now.
On Thu, Mar 27, 2014 at 10:45 AM, goytin notifications@github.com wrote:
Since commit df34c17 there is PCRE support in lighttpd.
Reply to this email directly or view it on GitHubhttps://github.com/Spondoolies-Tech/minepeon/issues/8#issuecomment-38779508 .
Latest git still fails with:
miner-FL1014990002# lighttpd -f /etc/lighttpd/lighttpd.conf can't handle '$HTTP[host] =~ ...' as you compiled without pcre support. (perhaps just a missing pcre-devel package ?) 2000-01-06 02:21:38: (configfile.c.943) source: /etc/lighttpd/lighttpd.conf line: 56 pos: 41 parser failed somehow near here: {
Please verify pcre-devel is also compiled inside.
It is possible to implement this without PCRE, by using a separate directory for ssl conections. When ssl is not enforced, this will be a symlink to the real web root. When ssl is enforced, it will point to a directory which just redirects each page to the ssl version. The preferred method would be redirects from mod_redirect, but this would work well enough .
There should be mod_redirect module, to forward users to HTTPS version.