diff options
author | dakkar <dakkar@thenautilus.net> | 2011-04-05 21:22:16 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2011-04-05 21:22:16 +0100 |
commit | e61690549f8739f2666d605d62267dcd9b2dd75b (patch) | |
tree | 1ca46ef2b5ba9eb9baab1d9ae8b5d10d62cb4fbf /confs | |
parent | cgi (diff) | |
download | MyShorten-e61690549f8739f2666d605d62267dcd9b2dd75b.tar.gz MyShorten-e61690549f8739f2666d605d62267dcd9b2dd75b.tar.bz2 MyShorten-e61690549f8739f2666d605d62267dcd9b2dd75b.zip |
better https via proxy
Diffstat (limited to 'confs')
-rw-r--r-- | confs/apache | 8 |
1 files changed, 4 insertions, 4 deletions
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] |