%PDF- %PDF-
| Direktori : /etc/apache2/sites-available/ |
| Current File : //etc/apache2/sites-available/ongrace.com.conf.save |
<VirtualHost *:80>
ServerName ongrace.com
DocumentRoot /var/www/projetos/ongrace.com
<Directory /var/www/projetos/ongrace.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
#Order deny,allow
# deny from all
# allow from none
# Require all granted
# RewriteEngine On
# Ensure authorization headers are passed to PHP.
# Some Apache configurations may filter them and break usage of API, CalDAV, ...
# RewriteCond %{HTTP:Authorization} ^(.+)$
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect all requests to GLPI router, unless file exists.
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^(.*)$ index.php [QSA,L]
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.ongrace.com.log
CustomLog ${APACHE_LOG_DIR}/access.ongrace.com.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =ongrace.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>