Skip to content

Instantly share code, notes, and snippets.

@icarrr
Created October 10, 2019 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icarrr/0fca55c8752611c26246e9937fe0ab15 to your computer and use it in GitHub Desktop.
Save icarrr/0fca55c8752611c26246e9937fe0ab15 to your computer and use it in GitHub Desktop.
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