[nag] once more: /nag/t/save

erling at eph.dk erling at eph.dk
Mon Feb 4 10:52:58 UTC 2013


Citat af Simon Wilson <simon at simonandkate.net>:

> ----- 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 WilsonM: 0400 12 11 16

Nice for you.... :-)

  Now I have to find out how i avoid repeated apointments and addresses when
I sync.

But thats another topic

not for this list....
  /erling

   


More information about the nag mailing list