[nag] once more: /nag/t/save
Simon Wilson
simon at simonandkate.net
Mon Feb 4 00:07:25 UTC 2013
----- Message from erling at eph.dk ---------
Date: Sun, 03 Feb 2013 19:13:41 +0000
From: erling at eph.dk
Reply-To: erling at eph.dk
Subject: Re: [nag] once more: /nag/t/save
To: nag at lists.horde.org
> He he
>
> Now to answer my ovwn question..
> That thinking didn't implode my head.
>
> I was puzled about why my http to https rewrite rule did its job while
> hordes didn't.
>
> My http to https rewrite rule is placed in httpd.conf on port *:80
> as this:
>
> <Location /horde>
> RewriteEngine on
> RewriteCond %{HTTPS} !^on$ [NC]
> RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
> </Location>
> And this worked like a charm
>
> So why not just ad the horde rule?
> Like this:
>
> <Location /horde>
> RewriteEngine on
> RewriteCond %{HTTPS} !^on$ [NC]
> RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
>
> RewriteBase /horde
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ rampage.php [QSA,L]
> </Location>
>
> Now it is all computing well. :-)
>
> Cleanup sometimes helps a lot...
>
> Thank and have a nice day
>
> /erling
> --
> nag mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: nag-unsubscribe at lists.horde.org
----- End message from erling at eph.dk -----
Good it's working... :)
My Horde sits behind a reverse proxy on a separate server, on that
server I have a vhost catching http requests and doing a simple
redirect to a https vhost, which reverse proxies to the Horde server.
The Horde server's Apache setup is very simple, with just a line added
for rpc.php redirection for ActiveSync, and now a single AllowOverride
entry in the Directory section.
Simon
--
Simon Wilson
M: 0400 12 11 16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/nag/attachments/20130204/bc0dfed3/attachment.bin>
More information about the nag
mailing list