In reference of this 'bug' report.
http://bugs.contribs.org/show_bug.cgi?id=5079Adding a key in the e-smith db to add ProxyPreserveHost with default value to off|on
With this key On when you proxy_pass a domain name the $http_host is preserved. Actually the $http_host return the value of the proxy_pass
http://xxx.xxx.xxx.xxx in place of
http://www.exemple.comSome php application (as prestashop) don't run without that.
Someone could help me find a solution until this option is created in the SME.
Proxy_pass create this, I need the line ProxyPreserveHost On
<VirtualHost 0.0.0.0:80>
ServerName exemple.com
ServerAlias server.exemple.com ftp.exemple.com mail.exemple.com
proxy.exemple.com wpad.exemple.com
www.exemple.com RewriteEngine on
RewriteCond %REQUEST_METHOD ^(TRACE|TRACK)
RewriteRule .* - [F]
ProxyPreserveHost On ProxyPass /
http://xxx.xxx.xxx.xxx/ ProxyPassReverse /
http://xxx.xxx.xxx.xxx/</VirtualHost>
Thanks in advance Olivier Beeckmans