1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
Listen 443
NameVirtualHost *:443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:C:\wamp\bin\apache\Apache2.2.11\logs\ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLMutex default
<VirtualHost *:443>
DocumentRoot "D:\serveur\www"
ServerName ssdom.monserveur.com:443
ServerAlias ssdom.monserveur.com
ServerAdmin moi@mydomain.net
CustomLog "logs/ssdom.monserveur.com-secure-access.log" combined
SSLEngine on
SSLCertificateFile "C:\wamp\bin\apache\Apache2.2.11\conf\cert-monserveur.com.crt"
SSLCertificateKeyFile "C:\wamp\bin\apache\Apache2.2.11\conf\monserveur.com.key"
#SSLCACertificatePath "C:\wamp\bin\apache\Apache2.2.11\conf\"
SSLCertificateChainFile "C:\wamp\bin\apache\Apache2.2.11\conf\XXXSSLCA.pem"
SSLVerifyClient None
<Directory D:/monserveur/www>
Options FollowSymLinks Includes
AllowOverride All
Allow from all
</Directory>
<IfModule dir_module>
AddType application/x-httpd-php .php .phtml .shtml
DirectoryIndex index.shtml index.php index.html
</IfModule>
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "C:\wamp\bin\apache\Apache2.2.11\cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog "C:\wamp\bin\apache\Apache2.2.11\logs\ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost> |
Partager