<VirtualHost *:80> ServerName aviatechno DocumentRoot "G:/www/aviatechno" ServerAdmin webmaster@ottello.net <Directory "G:/www/aviatechno/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride all <RequireAny> Require local Require ip 192.168.0 </RequireAny> </Directory> </VirtualHost>Same VirtualHost in wamp\bin\apache2.4.37\conf\extra\httpd-ssl.conf (Deleted comment lines)
# This is the Apache server configuration file providing SSL support. Listen 0.0.0.0:443 Listen [::0]:443 SSLCipherSuite HIGH:!RSA:!RC4:!3DES:!DES:!IDEA:!MD5:!aNULL:!eNULL:!EXP SSLHonorCipherOrder on SSLCompression off SSLSessionTickets on SSLProtocol all -SSLv2 -TLSv1 -TLSv1.1 -SSLv3 SSLPassPhraseDialog builtin SSLSessionCache "shmcb:${INSTALL_DIR}/logs/ssl_scache(512000)" SSLSessionCacheTimeout 300 ## ## SSL Virtual Host Context ## <VirtualHost *:443> ServerName aviatechno DocumentRoot "G:/www/aviatechno" ServerAdmin webmaster@aviatechno.net ErrorLog "${INSTALL_DIR}/logs/error.log" TransferLog "${INSTALL_DIR}/logs/access.log" SSLEngine on SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire SSLCertificateFile "${SRVROOT}/conf/Certs/Site/aviatechno.crt" SSLCertificateKeyFile "${SRVROOT}/conf/Certs/Site/aviatechno.key" # SSLVerifyClient none SSLVerifyDepth 10 <Directory "G:/www/aviatechno/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride all Require local </Directory> <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> BrowserMatch "MSIE [2-5]" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 CustomLog "${INSTALL_DIR}/logs/custom.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost>
Listen 0.0.0.0:443 Listen [::0]:443 SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES SSLHonorCipherOrder on SSLProtocol all -SSLv3 SSLProxyProtocol all -SSLv3 SSLPassPhraseDialog builtin SSLSessionCache "shmcb:a:/wamp64/logs/ssl_scache(512000)" SSLSessionCacheTimeout 300 <VirtualHost *:443> DocumentRoot "a:/wamp64/www/wamphelpers" ServerName wamphelpers.localhost:443 ServerAdmin admin@example.com ErrorLog "a:/wamp64/logs/ssl_error.log" TransferLog "a:/wamp64/logs/ssl_access.log" TransferLog "a:/wamp64/logs/ssl_access.log" SSLEngine on SSLCertificateFile "a:/wamp64/bin/apache/apache2.4.27/conf/ssl.crt/server.crt" SSLCertificateKeyFile "a:/wamp64/bin/apache/apache2.4.27/conf/ssl.key/server.key" <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory "a:/wamp64/www/wamphelpers"> SSLOptions +StdEnvVars Options Indexes FollowSymLinks MultiViews AllowOverride All Order Deny,Allow Deny from all Allow from 127.0.0.1 localhost ::1 </Directory> BrowserMatch "MSIE [2-5]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog "a:/wamp64/logs/ssl_request.log" \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost>
# Virtual Hosts # <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "${INSTALL_DIR}/www" <Directory "${INSTALL_DIR}/www/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> <VirtualHost *:80> ServerName wamphelpers.localhost ServerAlias *.wamphelpers.localhost #DocumentRoot "a:/wamp64/www/wamphelpers" #<Directory "a:/wamp64/www/wamphelpers/"> DocumentRoot "${INSTALL_DIR}/www/wamphelpers" <Directory "${INSTALL_DIR}/www/wamphelpers/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> <VirtualHost *:80> ServerName wamphelpers.dev ServerAlias *.wamphelpers.dev #DocumentRoot "a:/wamp64/www/wamphelpers" #<Directory "a:/wamp64/www/wamphelpers/"> DocumentRoot "${INSTALL_DIR}/www/wamphelpers" <Directory "${INSTALL_DIR}/www/wamphelpers/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost>
VirtualHost configuration: Default server: localhost Default server: wamphelpers.localhost Virtual Host: localhost Virtual Host: wamphelpers.localhost On port 443 Virtual Host: wamphelpers.localhost On port 443 Virtual Host: wamphelpers.localhost
# Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule>by
# Secure (SSL/TLS) connections # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin Include conf/extra/httpd-ssl.conf </IfModule>In this way, the conf/extra/httpd-ssl.conf file will only be loaded if the module ssl_module is enabled.