Commit 34b739eb authored by Kasra Jamshidi's avatar Kasra Jamshidi

Update README.apache_frontend.rst

parent edf23c5f
...@@ -266,7 +266,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be ...@@ -266,7 +266,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
software_type="custom-personal", software_type="custom-personal",
partition_parameter_kw={ partition_parameter_kw={
"url":"https://[1:2:3:4:5:6:7:8]:1234", "url":"https://[1:2:3:4:5:6:7:8]:1234",
"apache_custom_https":' "apache_custom_https":'
ServerName www.example.org ServerName www.example.org
ServerAlias example.org ServerAlias example.org
...@@ -303,7 +302,6 @@ Simple Cache Example ...@@ -303,7 +302,6 @@ Simple Cache Example
-------------------- --------------------
Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
instance = request( instance = request(
software_release=apache_frontend, software_release=apache_frontend,
software_type="RootSoftwareInstance", software_type="RootSoftwareInstance",
...@@ -314,7 +312,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be ...@@ -314,7 +312,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
"url":"https://[1:2:3:4:5:6:7:8]:1234", "url":"https://[1:2:3:4:5:6:7:8]:1234",
"domain": "www.example.org", "domain": "www.example.org",
"enable_cache": "True", "enable_cache": "True",
"apache_custom_https":' "apache_custom_https":'
ServerName www.example.org ServerName www.example.org
ServerAlias www.example.org ServerAlias www.example.org
...@@ -328,7 +325,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be ...@@ -328,7 +325,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
ProxyTimeout 600 ProxyTimeout 600
RewriteEngine On RewriteEngine On
RewriteRule ^/(.*) %(cache_access)s/$1 [L,P]', RewriteRule ^/(.*) %(cache_access)s/$1 [L,P]',
"apache_custom_http":' "apache_custom_http":'
ServerName www.example.org ServerName www.example.org
ServerAlias www.example.org ServerAlias www.example.org
...@@ -340,10 +336,8 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be ...@@ -340,10 +336,8 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
ProxyPreserveHost On ProxyPreserveHost On
ProxyTimeout 600 ProxyTimeout 600
RewriteEngine On RewriteEngine On
# Remove "Secure" from cookies, as backend may be https # Remove "Secure" from cookies, as backend may be https
Header edit Set-Cookie "(?i)^(.+);secure$" "$1" Header edit Set-Cookie "(?i)^(.+);secure$" "$1"
# Not using HTTPS? Ask that guy over there. # Not using HTTPS? Ask that guy over there.
# Dummy redirection to https. Note: will work only if https listens # Dummy redirection to https. Note: will work only if https listens
# on standard port (443). # on standard port (443).
...@@ -371,7 +365,6 @@ the proxy:: ...@@ -371,7 +365,6 @@ the proxy::
"type":"zope", "type":"zope",
"path":"/erp5", "path":"/erp5",
"domain":"example.org", "domain":"example.org",
"apache_custom_https":' "apache_custom_https":'
ServerName www.example.org ServerName www.example.org
ServerAlias www.example.org ServerAlias www.example.org
...@@ -400,7 +393,6 @@ the proxy:: ...@@ -400,7 +393,6 @@ the proxy::
RewriteRule ^/$ /index.html [R=302,L] RewriteRule ^/$ /index.html [R=302,L]
# Use cache # Use cache
RewriteRule ^/(.*) %(cache_access)s/VirtualHostBase/https/www.example.org:443/erp5/VirtualHostRoot/$1 [L,P]', RewriteRule ^/(.*) %(cache_access)s/VirtualHostBase/https/www.example.org:443/erp5/VirtualHostRoot/$1 [L,P]',
"apache_custom_http":' "apache_custom_http":'
ServerName www.example.org ServerName www.example.org
ServerAlias www.example.org ServerAlias www.example.org
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment