%PDF- %PDF-
Direktori : /etc/apache2/sites-available/ |
Current File : //etc/apache2/sites-available/o91coding.conf |
<VirtualHost 173.212.228.208> DocumentRoot "/var/www/html/o91" ServerName o91.coding.al ServerAlias www.o91.coding.al ServerAdmin webmaster@o91.coding.al <Directory /var/www/html/o91> AllowOverride All allow from all Options +Indexes </Directory> </VirtualHost> <VirtualHost 173.212.228.208> DocumentRoot "/var/www/html/o91-api/public" ServerName api.o91.coding.al ServerAlias www.api.o91.coding.al ServerAdmin webmaster@api.o91.coding.al <Directory /var/www/html/o91-api/public> AllowOverride All allow from all Options +Indexes </Directory> RewriteEngine on RewriteCond %{SERVER_NAME} =api.o91.coding.al [OR] RewriteCond %{SERVER_NAME} =www.api.o91.coding.al RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>