ServerName api.vdm.rthoni.com
Redirect permanent / https://api.vdm.rthoni.com/
ServerName api.vdm.rthoni.com
DocumentRoot /var/api.vdm
ServerAlias api.vdm.rthoni.com
SSLEngine on
SSLCertificateFile /etc/ssl/private/api.vdm.crt
SSLCertificateKeyFile /etc/ssl/private/api.vdm.key
SSLCertificateChainFile /etc/ssl/certs/sub.class1.server.ca.pem
ProxyPreserveHost off
ProxyRequests off
ProxyPass /doc/ http://vdm.3ie.fr/doc/
ProxyPassReverse /doc/ http://vdm.3ie.fr/doc/
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !^/medias/
RewriteCond %{REQUEST_FILENAME} !^/doc/
RewriteRule ^(.*)$ /index.php?_url=$1 [QSA,L]