Archived
23 lines
570 B
ApacheConf
23 lines
570 B
ApacheConf
# Main Apache configuration for multi-user WordPress hosting
|
|
|
|
<VirtualHost *:80>
|
|
ServerAdmin admin@localhost
|
|
DocumentRoot /var/www
|
|
|
|
<Directory /var/www>
|
|
Options -Indexes +FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<FilesMatch \.php$>
|
|
SetHandler application/x-httpd-php
|
|
</FilesMatch>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
</VirtualHost>
|
|
|
|
# Include user site configs from each user volume
|
|
IncludeOptional /var/www/*/site_conf/site.conf
|