aboutsummaryrefslogtreecommitdiff
path: root/apache/sites
diff options
context:
space:
mode:
Diffstat (limited to 'apache/sites')
-rw-r--r--apache/sites/nowayforward_human.conf.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl
index 30ebe7e..34e5533 100644
--- a/apache/sites/nowayforward_human.conf.tpl
+++ b/apache/sites/nowayforward_human.conf.tpl
@@ -1,4 +1,9 @@
<VirtualHost *:8000>
ServerName localhost
- DocumentRoot ${REPOSITORY}/views
+ DocumentRoot "${REPOSITORY}/views"
+ Alias /controllers "${REPOSITORY}/controllers"
+
+ <FilesMatch \.php$>
+ SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/"
+ </FilesMatch>
</VirtualHost>