summaryrefslogtreecommitdiff
path: root/confs
diff options
context:
space:
mode:
Diffstat (limited to 'confs')
-rw-r--r--confs/apache8
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]