NameVirtualHost *:80

<Directory "/srv">
  Options All
  AllowOverride All
  Require all granted
</Directory>

<VirtualHost *:80>
  ServerName {{domain}}
  DocumentRoot /srv/www/facebook/phabricator/webroot

  RewriteEngine on
  RewriteRule ^/rsrc/(.*)     -                       [L,QSA]
  RewriteRule ^/favicon.ico   -                       [L,QSA]
  RewriteRule ^(.*)$          /index.php?__path__=$1  [B,L,QSA]

  SetEnv PHABRICATOR_ENV custom/myconfig
</VirtualHost>
