Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
phabricator conf on apache2
<VirtualHost *:port>
DocumentRoot /var/www/html/repository/phabricator/webroot
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
ErrorLog ${APACHE_LOG_DIR}/phabricator-error.log
CustomLog ${APACHE_LOG_DIR}/phabricator-access.log combined
<Directory "/var/www/html/repository/phabricator/webroot">
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment