Redirect Loop After Submiting A form

March 11, 2015 548 views
Apache PHP

Hello

Literally spent 9 hours on this issue and cannot find the issue.. Several Reconfigs and no results..

Trying to install a script - http://billing.zhsolutions.net/install/
After Step one is Submitted, you are unable to access my site and this error shows:

CHrome:
The webpage at http://billing.zhsolutions.net/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Learn more about this problem.
Error code: ERRTOOMANY_REDIRECTS

Firefox
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.

I checked - The script works on a test server

  • Cookies are being set.
  • Server meets or exceeds script requirements
  • tried billing.zhsolutions.net, zhsolutions.net/billing/install, even tried installing in root..same issue.

I suspect is a server configuration is but I JUST DONT KNOW WHAT!! Driving me Crazy..

any help

1 comment
  • I am not familiar with this particular script but I would suggest checking that the rewrite module is enabled:

    sudo a2enmod rewrite
    service apache2 restart
    

    and that your virtualhost configuration has AllowOverride All instead of the default AllowOverride None set for your web root directory.

    Aside from that, if any error messages are being recorded in your logs when this occurs they could be helpful. If none of this yields any results I would recommend contacting the scripts developers as they may have more insight on exactly what is occurring at that step.

1 Answer

This question was answered by @ryanpq:

I am not familiar with this particular script but I would suggest checking that the rewrite module is enabled:

sudo a2enmod rewrite
service apache2 restart

and that your virtualhost configuration has AllowOverride All instead of the default AllowOverride None set for your web root directory.

Aside from that, if any error messages are being recorded in your logs when this occurs they could be helpful. If none of this yields any results I would recommend contacting the scripts developers as they may have more insight on exactly what is occurring at that step.

View the original comment

Have another answer? Share your knowledge.