Commit 95be8c15 authored by Eric's avatar Eric
Browse files

update

parent b47a0b5e
...@@ -3,13 +3,10 @@ ...@@ -3,13 +3,10 @@
RewriteEngine On RewriteEngine On
#lets encrypt #lets encrypt
RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/ RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
RewriteCond %{HTTP_HOST} ^autoconfig\. [NC] RewriteRule ^/wws/(.*)$ https://%{HTTP_HOST}/wws/$1 [L,R=301,NE]
RewriteRule ^/(.*) http://autoconfig.sud-ouest2.org/$1 [L,R=301,NE] RewriteRule ^/$ https://%{HTTP_HOST}/wws [L,R=301,NE]
RewriteRule ^/$ https://%{HTTP_HOST}/wws/ [L,R=301,NE]
RewriteRule ^/wws/$ https://%{HTTP_HOST}/wws/ [L,R=301,NE]
ServerName MAQUETTE ServerName MAQUETTE
ServerAlias AUTOCONFIG
ServerAdmin listmaster@DOMAINE ServerAdmin listmaster@DOMAINE
ErrorLog /var/log/apache2/MAQUETTE-error.log ErrorLog /var/log/apache2/MAQUETTE-error.log
......
<VirtualHost 87.98.220.62:443> <VirtualHost 87.98.220.62:443>
ProxyPreserveHost On ProxyPreserveHost On
RewriteEngine On RewriteEngine On
RewriteRule ^/$ /wws/ [L,R=301,NE] RewriteRule ^/$ /wws [L,R=301,NE]
ServerName MAQUETTE ServerName MAQUETTE
ServerAlias AUTOCONFIG
#SYMPA #SYMPA
ProxyPass "/static-sympa" "http://sympa-01.sud-ouest2.org/static-sympa" ProxyPass "/static-sympa" "http://sympa-01.sud-ouest2.org/static-sympa"
ProxyPassReverse "/static-sympa" "http://sympa-01.sud-ouest2.org/static-sympa" ProxyPassReverse "/static-sympa" "http://sympa-01.sud-ouest2.org/static-sympa"
......
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