Created
October 10, 2019 10:26
-
-
Save icarrr/0fca55c8752611c26246e9937fe0ab15 to your computer and use it in GitHub Desktop.
phabricator conf on apache2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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