Annotation of loncom/rewrites/loncapa_rewrite_on.conf, revision 1.7
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:)
7: RewriteRule (.*) - [L]
8: RewriteCond %{REQUEST_URI} ^/adm/annotations$
9: RewriteRule (.*) - [L]
1.3 raeburn 10: RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$
1.6 raeburn 11: RewriteCond %{QUERY_STRING} (^|&)usehttp=1($|&)
1.3 raeburn 12: RewriteRule (.*) - [L]
1.1 raeburn 13: RewriteCond %{HTTPS} !=on
14: RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]
15: </IfModule>
16: </IfModule>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>