forked from google/appengine-phabricator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phabricator.conf
21 lines (18 loc) · 932 Bytes
/
phabricator.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<VirtualHost *:8080>
DocumentRoot /opt/phabricator/webroot
SetEnvIf Request_URI "^/_ah/stop" shutdown
CustomLog /usr/local/apache/logs/shutdown.log common env=shutdown
CustomLog /var/log/app_engine/custom_logs/access.log combined
ErrorLog /var/log/app_engine/custom_logs/apache_phabricator_err.log
RewriteEngine on
RewriteRule ^/_ah/health - [L,QSA]
RewriteRule ^/_ah/stop - [L,QSA]
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
# Tell Apache to allow user access to documents under
# Phabricator's webroot directory.
<Directory "/opt/phabricator/webroot">
Require all granted
</Directory>
</VirtualHost>