Jump to content

Recommended Posts

Posted

Hi,

I've just set up my AMP stack on my own rather than using MAMP and such, this is not as easy as I thought. Some obstacles I've overcome already but now this is biting me when trying to access a PW installation:

Request exceeded the limit of 10 internal redirects due to probable configuration error.

I've researched a bit but did not come to any conclusion other that it has to do something with rewrites.

httpd.conf

<Directory "/my-web-root/">
    Options -Indexes +FollowSymLinks
    AllowOverride All
    DirectoryIndex index.php index.html
    Order allow,deny
    Allow from all
</Directory>

httpd-vhosts.conf example

I am actually using dnsmasq to map my domains to directories like so:

<VirtualHost *:80>
    VirtualDocumentRoot "/my-web-root/%1"
    ServerAlias *.dev
    UseCanonicalName Off
</VirtualHost>

But using this standard approach has the same issues:

<VirtualHost *:80>
    VirtualDocumentRoot "/my-web-root/some-client"
    ServerName some-client.dev
    ServerAlias *.dev
    UseCanonicalName Off
</VirtualHost>

Any suggestions? Thanks!

Posted

I am also using dsnmasq on my local dev setup and I think all you should have to do is uncomment this line in the standard PW htaccess file:

RewriteBase / 
  • Like 4
Posted

I am also using dsnmasq on my local dev setup and I think all you should have to do is uncomment this line in the standard PW htaccess file:

RewriteBase / 

Awesome, that fixed it, thanks!

  • 9 months later...
Posted

I experienced a similar issue in my Apache log file that said: "[error] 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., referer: http://www.example.com/" (ProcessWire 2.5).

Fixed by setting "RewriteBase /" in .htaccess.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...