title: How to configure phabricator with a bare domain url?
body: <p>I'm trying to run phabricator on my home server. The last thing I struggle with is to use phabricator with a bare url. I've set up a virtual host (apache 2.4) using a seperate port for phabricator and added the required rewrite rules:</p>
  
  <pre><code>&lt;VirtualHost *:81&gt;
   DocumentRoot /var/www/html/phabricator/phabricator/webroot
   RewriteEngine on
   RewriteRule ^(.*)$          /index.php?__path__=$1  [B,L,QSA]
   &lt;Directory "/var/www/html/phabricator/phabricator/webroot"&gt;
    Require all granted
   &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Unfortunately, phabricator demands a non-root url. Any ideas? </p>
  
  <p>I get the following error message: <a href="https://i.stack.imgur.com/HrxkV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HrxkV.png" alt="error-message"></a> </p>
  
  <p>User <strong>moodboom</strong> found a solution but did not post the answer at <a href="https://stackoverflow.com/questions/18720579/how-to-configure-phabricator-with-a-non-root-url">how-to-configure-phabricator-with-a-non-root-url</a>.</p>