Jump to content

Apache Recursion Problem


owzim
 Share

Recommended Posts

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!

Link to comment
Share on other sites

  • 9 months later...

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.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...