%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/etc/apache2/sites-enabled/
Upload File :
Create Path :
Current File : //proc/self/root/etc/apache2/sites-enabled/davidrrsoares.com.br.conf

<VirtualHost *:80>
ServerName davidrrsoares.com.br
ServerAlias [www.davidrrsoares.com.br](http://www.davidrrsoares.com.br)

DocumentRoot /var/www/projetos/davidrrsoares.com.br

<Directory /var/www/projetos/davidrrsoares.com.br>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Require all granted
</Directory>

RewriteEngine On

# Redireciona www -> sem www
RewriteCond %{HTTP_HOST} ^www\.davidrrsoares\.com\.br$ [NC]
RewriteRule ^(.*)$ https://davidrrsoares.com.br/$1 [L,R=301]

# Redireciona HTTP -> HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://davidrrsoares.com.br/$1 [L,R=301]

ErrorLog ${APACHE_LOG_DIR}/davidrrsoares-error.log
CustomLog ${APACHE_LOG_DIR}/davidrrsoares-access.log combined

</VirtualHost>

Zerion Mini Shell 1.0