From e61690549f8739f2666d605d62267dcd9b2dd75b Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 5 Apr 2011 21:22:16 +0100 Subject: better https via proxy --- confs/apache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'confs') diff --git a/confs/apache b/confs/apache index b3c3e4b..fa0906d 100644 --- a/confs/apache +++ b/confs/apache @@ -9,16 +9,16 @@ RewriteEngine On - RewriteCond %{HTTPS} off + RewriteCond %{ENV:SSL_PROXY} off RewriteRule ^/add$ https://xn--yet.cc/add [R=301,L] - RewriteCond %{HTTPS} off + RewriteCond %{ENV:SSL_PROXY} off RewriteRule ^/$ https://xn--yet.cc/ [R=301,L] - RewriteCond %{HTTPS} on + RewriteCond %{ENV:SSL_PROXY} on RewriteRule ^/add$ /usr/local/shorten/cgi/shorten.pl/add [H=cgi-script,L] - RewriteCond %{HTTPS} on + RewriteCond %{ENV:SSL_PROXY} on RewriteRule ^/$ /usr/local/shorten/htdocs/form.html [L] RewriteRule ^/add /usr/local/shorten/htdocs/not_there [L] -- cgit v1.2.3