Search code examples
apachephabricator

Unable to configure phabricator on apache 2.4/redhat 7.0


I am trying to configure phabricator on redhat machine on which WHM and cpanel configured.

I am using my .htaccess file to setup configuration.

This is my .htaccess file

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

Require all granted

and this is what i am getting on my apache2.4 error logs

 AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace

I tried everything which i found on google. Please help


Solution

  • I just modified my .htaccess by replacing $1 with /$1 which works for me

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