apache - Phabricator rewrite rules configuring issue -
i'm having trouble installing phabricator. seems simple thing. copied example code exactly.
apache2.conf:
<virtualhost *> # change domain points host. servername localhost # change path put 'phabricator' when checked # out github when following installation guide. # # make sure include "/webroot" @ end! documentroot /var/www/phabricator/webroot rewriteengine on rewriterule ^/rsrc/(.*) - [l,qsa] rewriterule ^/favicon.ico - [l,qsa] rewriterule ^(.*)$ /index.php?__path__=$1 [b,l,qsa] </virtualhost> <directory "/var/www/phabricator/webroot"> require granted </directory>
whenever go server ip on browser, gives me error:
request parameter '__path__' not set. rewrite rules not configured correctly.
i found part of phabricator code:
if (!isset($_request['__path__'])) { self::didfatal( "request parameter '__path__' not set. rewrite rules ". "are not configured correctly."); }
anyone have idea how past this?
i had similar issue phab , solved following:
- place directory segment inside virtualhost segment.
- are running other virtual server in system? if so, specify port
*:80
(or try different 1 remember addinglisten 8081
before declaring virtualhost segment if try port) and last replace content of directory segment this:
order allow,deny allow
Comments
Post a Comment