Dear users, I have following two virtual host configurations. First is working correctly and second one not. Could you please explain me where could be a problem? In directory /srv/www/htdocs/ssldocs/USMA/cert/ is CGI script index.cgi When I am calling https://<IP_ADDRESS/USMA/cert/index.cgi In first configuration I receive correct message that certificate is not valid. In second configuration I receive message HTTP_502 (Bad Gateway) . What is wrong? FIRST configuration is working <VirtualHost _default_:443> SSLEngine on SSLProxyEngine on #ProxyPreserveHost on ProxyRequests Off TraceEnable Off DocumentRoot "/src/www/htdocs/ssldocs" RewriteEngine on RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule ^/USMA(.*) - [L] <Directory "/srv/www/htdocs/ssldocs/USMA/cert/"> SSLRequireSSL SSLVerifyClient require SSLVerifyDepth 5 SSLOptions +FakeBasicAuth +StdEnvVars +ExportCertData SSLRequire %{HTTP_USER_AGENT} ne "__empty" Order deny,allow Options +ExecCGI -Includes Allow from all </Directory> </VirtualHost> SECOND configuration is not working (why?): <VirtualHost *:443> SSLEngine on SSLProxyEngine on ServerName main_assistant ProxyRequests off TraceEnable off # SSLCertificateFile is buried here <Location "/" > ProxyPass https://127.0.0.1/ ProxyPassReverse https://127.0.0.1/ </Location> </VirtualHost> <VirtualHost 127.0.0.1:443> SSLEngine on SSLProxyEngine on #ProxyPreserveHost on ProxyRequests Off TraceEnable Off DocumentRoot "/src/www/htdocs/ssldocs" RewriteEngine on RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule ^/USMA(.*) - [L] <Directory "/srv/www/htdocs/ssldocs/USMA/cert/"> SSLRequireSSL SSLVerifyClient require SSLVerifyDepth 5 SSLOptions +FakeBasicAuth +StdEnvVars +ExportCertData SSLRequire %{HTTP_USER_AGENT} ne "__empty" Order deny,allow Options +ExecCGI -Includes Allow from all </Directory> </VirtualHost> -- Best Regards / S pozdravem Petr Hracek --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx