Update document root
This commit is contained in:
parent
d55ef7d68b
commit
f3225a9b26
2 changed files with 14 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
ServerName app.sixfold.org
|
ServerName app.sixfold.org
|
||||||
|
|
||||||
ServerAdmin sixfold@sixfold.org
|
ServerAdmin sixfold@sixfold.org
|
||||||
DocumentRoot /var/www/html/app.sixfold.org/www
|
DocumentRoot /srv/app.sixfold.org/www
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/app.sixfold.org-error.log
|
ErrorLog ${APACHE_LOG_DIR}/app.sixfold.org-error.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/app.sixfold.org-access.log combined
|
CustomLog ${APACHE_LOG_DIR}/app.sixfold.org-access.log combined
|
||||||
|
|
@ -14,6 +14,17 @@
|
||||||
ErrorDocument 404 /errors/404
|
ErrorDocument 404 /errors/404
|
||||||
ErrorDocument 503 /errors/503
|
ErrorDocument 503 /errors/503
|
||||||
|
|
||||||
|
<Directory "/srv/app.sixfold.org/www/">
|
||||||
|
# Disable .htaccess files
|
||||||
|
AllowOverride none
|
||||||
|
|
||||||
|
# Disable unneeded options
|
||||||
|
Options none
|
||||||
|
|
||||||
|
# Allow access to www/
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
<Files "errors/([0-9]+).php">
|
<Files "errors/([0-9]+).php">
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ expose_php = Off
|
||||||
post_max_size = 10M
|
post_max_size = 10M
|
||||||
upload_max_filesize = 6M
|
upload_max_filesize = 6M
|
||||||
|
|
||||||
include_path = /var/www/html/app.sixfold.org/lib
|
include_path = /srv/app.sixfold.org/lib
|
||||||
auto_prepend_file = config.php
|
auto_prepend_file = config.php
|
||||||
|
|
||||||
[session]
|
[session]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue