extranet/docs/VHOST

30 lines
986 B
Plaintext
Raw Normal View History

2013-11-05 15:45:25 +01:00
APACHE 2.4
==========
2015-01-15 16:31:39 +01:00
<VirtualHost *:80>
ServerName extranet.sd.dev
AddDefaultCharset utf-8
SetEnv APPLICATION_ENV "development"
DirectoryIndex index.php
DocumentRoot /home/vhosts/extranet/public
<Directory /home/vhosts/extranet/public/>
EnableSendfile Off
AllowOverride none
Require all granted
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
</Directory>
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel debug
ErrorLog /home/vhosts/apachelog/extranet-error.log
CustomLog /home/vhosts/apachelog/extranet-access.log combined
</VirtualHost>