I'm trying to create a virtual server that listens on a given port,
then proxies to another. I'm doing this using rewrite. it works
well. However, I'd like only ssl clients to be able to access this
virtual server. As it stands apache allows both http and https
methods. As RequireSSL isn't allowed, I'm not sure how to do
this. anyone know?

from my apache config:

listen 8988
<VirtualHost 10.0.0.24:8988>
  ServerAdmin [EMAIL PROTECTED]

  SSLEngine on
  SSLCertificateFile /etc/apache/ssl.pem/div.auctionflow.com.pem
  SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
  SSLVerifyClient require
  SSLVerifyDepth 5   

  SSLCACertificateFile /etc/apache/ca.crt

  RewriteEngine On   
  RewriteRule /(.*) http://10.0.0.24:8888/%{SSL_CLIENT_S_DN_Email} [P]

</VirtualHost>


seph
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to