# Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # ##NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ##ServerName or ##ServerAlias in any block. # ## ##ServerAdmin webmaster@dummy-host.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host.example.com" ##ServerName dummy-host.example.com ##ServerAlias www.dummy-host.example.com ##ErrorLog "logs/dummy-host.example.com-error.log" ##CustomLog "logs/dummy-host.example.com-access.log" common ## ## ##ServerAdmin webmaster@dummy-host2.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" ##ServerName dummy-host2.example.com ##ErrorLog "logs/dummy-host2.example.com-error.log" ##CustomLog "logs/dummy-host2.example.com-access.log" common ## DocumentRoot "C:/xampp/htdocs/openemr/portal" ServerName mycwportal.culexwellness.com AllowOverride All Require all granted RewriteEngine On RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] DocumentRoot "C:/xampp/htdocs/openemr/" ServerName cwemr.culexwellness.com AllowOverride All Require all granted RewriteEngine On RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] DocumentRoot "C:/xampp/htdocs/openemr/portal" ServerName mycwportal.culexwellness.com:443 SSLEngine on SSLCertificateFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.crt" SSLCertificateKeyFile "C:/xampp/apache/conf/ssl/culex.key" SSLCertificateChainFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.ca-bundle" ##SSLCertificateFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.crt" ##SSLCertificateKeyFile "C:/xampp/apache/conf/ssl/culex.key" ##SSLCertificateChainFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.ca-bundle" AllowOverride All Require all granted Require all granted order deny,allow Deny from all order deny,allow Deny from all DocumentRoot "C:/xampp/htdocs/openemr/" ServerName cwemr.culexwellness.com:443 SSLEngine on SSLCertificateFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.crt" SSLCertificateKeyFile "C:/xampp/apache/conf/ssl/culex.key" SSLCertificateChainFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.ca-bundle" ##SSLCertificateFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.crt" ##SSLCertificateKeyFile "C:/xampp/apache/conf/ssl/culex.key" ##SSLCertificateChainFile "C:/xampp/apache/conf/ssl/STAR_culexwellness_com.ca-bundle" AllowOverride All Require all granted