%PDF- %PDF-
Direktori : /etc/apache2/sites-available/ |
Current File : //etc/apache2/sites-available/stb.ind.br.conf |
<VirtualHost *:80> ServerName stb.ind.br ServerAlias www.stb.ind.br ServerAdmin webmaster@ongrace.com DocumentRoot /var/www/projetos/stb.ind.br ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory /var/www/projetos/stb.ind.br> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> RewriteEngine on RewriteCond %{SERVER_NAME} =www.stb.ind.br [OR] RewriteCond %{SERVER_NAME} =stb.ind.br RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet