1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

using two diffrent SSL configuration depending on IP from .htaccess

Discussion in 'Apache' started by rincewind, Feb 27, 2007.

  1. #1
    Hello!

    Is there a way to configure a webdir via a .htaccess file to have diffrent SSL directives via .htaccess? Im using apache2..

    If I have my own IP (aaa.bbb.ccc.ddd) then can I configure it to this configuration

    SSLEngine On
    SSLOptions +OptRenegotiate
    SSLCertificateFile /usr/local/apache2/conf/keys/myCrtFile.crt
    SSLCertificateKeyFile /usr/local/apache2/conf/keys/myPemFile.pem

    And every other IP that is connecting to the dir have the following requirements:

    SSLVerifyClient require
    SSLVerifyDepth 1
    SSLCACertificateFile /usr/local/apache2/conf/keys/requiredSSL.crt

    Is there someway to do this?
    Please help=)

    Regards,
    -- Rincewind
     
    rincewind, Feb 27, 2007 IP