aboutsummaryrefslogtreecommitdiff
path: root/apache/sites/nowayforward_human.conf.tpl
blob: 72ed8085c30116fc16cce296cbf6d26e15983b9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<VirtualHost *:8000>
  ServerName localhost
  DocumentRoot "${REPOSITORY}/views"
  Alias /archives "${ARCHIVES_DIR}"

  <FilesMatch \.php$>
    SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/"
  </FilesMatch>

  RedirectMatch "^/$" /home/index.php
  RedirectMatch "^/index.html$" /home/index.php
  RedirectMatch "^/index.php$" /home/index.php
</VirtualHost>