%PDF- %PDF-
Direktori : /etc/apache2/sites-available/ |
Current File : //etc/apache2/sites-available/000-default.conf |
<VirtualHost *:80> ServerName atvbuggy-dubrovnik.com ServerAlias www.atvbuggy-dubrovnik.com RewriteEngine on RewriteCond %{SERVER_NAME} =atvbuggy-dubrovnik.com [OR] RewriteCond %{SERVER_NAME} =www.atvbuggy-dubrovnik.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> <VirtualHost *:80> ServerName api.atvbuggy-dubrovnik.com ServerAdmin webmaster@localhost DocumentRoot /var/www/html/atv-api ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =api.atvbuggy-dubrovnik.com [OR] RewriteCond %{SERVER_NAME} =atvbuggy-dubrovnik.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> <VirtualHost *:80> ServerName buggydubrovnik.com ServerAlias www.buggydubrovnik.com ServerAdmin webmaster@localhost DocumentRoot /var/www/html/buggydubrovnik.com ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined #RewriteEngine on #RewriteCond %{SERVER_NAME} =buggydubrovnik.com [OR] #RewriteCond %{SERVER_NAME} =www.buggydubrovnik.com #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] RewriteEngine on RewriteCond %{SERVER_NAME} =buggydubrovnik.com [OR] RewriteCond %{SERVER_NAME} =www.buggydubrovnik.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>