# HG changeset patch # User Sylvain Thénault # Date 1307626195 -7200 # Node ID b9740d6a1ec3f6114dfe0d3fd276286d1dcf70a5 # Parent 0fa5dee25b7d91040ebbe3175e3603bf8aca145f [doc, apache] add ProxyPreserveHost hint + note about https /w http configuration diff -r 0fa5dee25b7d -r b9740d6a1ec3 doc/book/en/admin/instance-config.rst --- a/doc/book/en/admin/instance-config.rst Thu Jun 09 14:37:32 2011 +0200 +++ b/doc/book/en/admin/instance-config.rst Thu Jun 09 15:29:55 2011 +0200 @@ -60,6 +60,7 @@ and `https://localhost/demo` and actually running on port 8080, it takes to the http::: + ProxyPreserveHost On RewriteEngine On RewriteCond %{REQUEST_URI} ^/demo RewriteRule ^/demo$ /demo/ @@ -67,6 +68,7 @@ and for the https::: + ProxyPreserveHost On RewriteEngine On RewriteCond %{REQUEST_URI} ^/ demo RewriteRule ^/demo$/demo/ @@ -78,6 +80,11 @@ base-url = http://localhost/demo https-url = https://localhost/demo +Notice that if you simply want a site accessible through https, not *both* http +and https, simply set `base-url` to the https url and the first section into your +apache configuration (as you would have to do for an http configuration with an +apache front-end). + Setting up the web client ------------------------- :`web.embed-allowed`: