Infinite Loop of redirects with apExternalCMS

Asked by K N

This might have been answered before but I couldn't find it.
I'm running the gateway on a ddwrt router, and the auth server on windows. I have the apExternalCMS plugin enabled.

I want to have the login on an external webserver, so I can brand each login page per location as needed.

I've setup the login page as http://mywebsite/login.php which does the authentication and sends back the info as a post to the router.

What the browswer is showing is that the Auth server is attempting to redirect to the external server (http://mywebsite) but its "outside the walled garden" so it gets sent back to the Auth server. It does this over and over, basically an infinite loop. Its showing a 310 error.

I'm not sure if I missed something in the config, or there's a way to add exemptions that I couldn't find or what exactly is causing this.

Question information

Language:
English Edit question
Status:
Solved
For:
AuthPuppy Edit question
Assignee:
No assignee Edit question
Solved by:
gbastien
Solved:
Last query:
Last reply:
Revision history for this message
Best gbastien (gbastien02) said :
#1

The authentication page MUST be inside the walled garden. Typically, the portal and authentication pages are located on the same server, ie have the same IP address so you don't have to do anything.

But if it is impossible for you to have the login page on the same server, then you need to white-list it on the router. Check out the wifidog.conf file on your router. Towards the end of the file you can add a few firewall rules. Just add your authentication page's ip address to the appropriate firewall rule.

Revision history for this message
K N (kushalnaik00) said :
#2

Thanks gbastien, that solved my question.