Redirecting After Login

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
jangle
Veteran Member
Posts: 92
Joined: 2020-01-18 17:41

Redirecting After Login

Post by jangle » 2024-11-18 21:06

Hello,

Hoping for some help. I have searched a good bit but could not find anything to help me.

I have created a subdirectory domain for one of my folders through my host, specifically http://jagpm.janglegroup.com/.

Entering this address takes me to my website as expected. I enter my credentials and then I get an error. "The server encountered an internal error or misconfiguration and was unable to complete your request."

I notice that the address after the login have added th jagpm back into the URL, as shown here. http://jagpm.janglegroup.com/jagpm/inde ... inFailed=1.

I have similar subdirectory domains for two other sites with the same host and there work fine.

My host says it is something in my coding, but I am not sure where to look.

Any thoughts on where to look.

Thank you in advance.

Jim

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1891
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Redirecting After Login

Post by jsetzer » 2024-11-19 03:36

First things which came into my mind:
  1. You should doublecheck $host and $appURI in config.php
  2. In hooks/__global.php check if there is any return value from login_ok(...)-function
  3. Check if there is any .htaccess file, having Redirect / RewriteRule instructions
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.14 Revision 1665 + all AppGini Helper tools

jangle
Veteran Member
Posts: 92
Joined: 2020-01-18 17:41

Re: Redirecting After Login

Post by jangle » 2024-11-19 21:18

Thanks. Let me take a look.

jangle
Veteran Member
Posts: 92
Joined: 2020-01-18 17:41

Re: Redirecting After Login

Post by jangle » 2024-11-20 20:12

As always, jsetzer comes through.

Tweaked these $host and $appURI in config.php and it works fine.

Thank you Thank you.

Jim

Post Reply