-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.vhost
31 lines (28 loc) · 851 Bytes
/
default.vhost
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<VirtualHost *:80>
ServerAdmin {admin_email}
ServerName {default.domain.ext}
#ServerAlias server server2.domain.com server2
DocumentRoot {sitedir}
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory {sitedir}>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<IfModule mpm_itk_module>
AssignUserId {apache_group} {apache_user}
</IfModule>
ErrorLog ${APACHE_LOG_DIR}/{default.domain.ext}-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/{default.domain.ext}-access.log combined
php_flag log_errors on
php_flag display_errors on
php_value error_reporting 6143
php_value error_log ${APACHE_LOG_DIR}/{default.domain.ext}-php-error.log
</VirtualHost>