Annotation of loncom/rewrites/loncapa_rewrite_on.conf, revision 1.8

1.1       raeburn     1: <IfModule mod_ssl.c>
                      2:   <IfModule mod_rewrite.c>
                      3:     RewriteEngine on
                      4:     RewriteCond %{REMOTE_HOST} 127.0.0.1
                      5:     RewriteRule (.*) - [L]
1.2       raeburn     6:     RewriteCond %{REQUEST_URI} ^/adm/wrapper/ext/(?!https:)
1.8     ! raeburn     7:     RewriteCond %{QUERY_STRING} (^|&(amp;|))usehttp=1($|&)
1.2       raeburn     8:     RewriteRule (.*) - [L]
                      9:     RewriteCond %{REQUEST_URI} ^/adm/annotations$
                     10:     RewriteRule (.*) - [L]
1.3       raeburn    11:     RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$
1.8     ! raeburn    12:     RewriteCond %{QUERY_STRING} (^|&(amp;|))usehttp=1($|&)
1.3       raeburn    13:     RewriteRule (.*) - [L]
1.1       raeburn    14:     RewriteCond %{HTTPS} !=on
                     15:     RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]
                     16:   </IfModule>
                     17: </IfModule>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>