Factory setting. Rewrite rules not configured correctly

I followed the Phabricator Configuration Guide , and after installing all the dependencies, I come across the following message:

Request parameter '__path__' is not set. Your rewrite rules are not configured correctly.

This message is displayed when I try to access www.cleverbit.com.br/phabricator/webroot/

I have a file apache2.confconfigured as suggested by the docs:

    <VirtualHost *>
  # Change this to the domain which points to your host.
  ServerName cleverbit.com.br

  # Change this to the path where you put 'phabricator' when you checked it
  # out from GitHub when following the Installation Guide.
  #
  # Make sure you include "/webroot" at the end!
  DocumentRoot /var/www/html/phabricator/webroot

  RewriteEngine on
  RewriteRule ^(.*)$          /index.php?__path__=$1  [B,L,QSA]
</VirtualHost>

<Directory />
        Options FollowSymLinks
        AllowOverride All
        Require all denied
</Directory>

<Directory /usr/share>
        AllowOverride All
        Require all granted
</Directory>

<Directory "/var/www/html/phabricator/webroot">
        Require all granted
        AllowOverride All
</Directory>

What exactly is wrong with my apache rewrite configuration?

+1
source share
1 answer

Apache has no inheritance inside directory operators, so you need a string AllowOverride Allinside the Directory block for /var/www/html/phabricator/webroot.

, /var/www Directory, VirtualHost, ( Phabricator , ).

0

All Articles