diff --git a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html index 729401205c..a7cd489147 100644 --- a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html +++ b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/container/ConfigurationError.html @@ -49,22 +49,16 @@ <VirtualHost review.example.com:80> ServerName review.example.com - ProxyRequests Off - ProxyVia Off - ProxyPreserveHost On - - <Proxy *> - Order deny,allow - Allow from all - </Proxy> -
<Location /r/login/> AuthType Basic AuthName "Gerrit Code Review" Require valid-user ... </Location>
- ProxyPass /r/ http://.../r/ + + AllowEncodedSlashes NoDecode + RewriteEngine On + RewriteRule ^/r/(.*) http://.../r/$1 </VirtualHost>