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:

  1. place directory segment inside virtualhost segment.
  2. are running other virtual server in system? if so, specify port *:80 (or try different 1 remember adding listen 8081 before declaring virtualhost segment if try port)
  3. and last replace content of directory segment this:

    order allow,deny allow 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -