after login, redirect goes to wrong URL

after login, redirect goes to wrong URL

by kirsten montgomery -
Number of replies: 2
I just installed moodle with almost complete success.

There is one small problem.  Here is what happens:
I first open my broswer, and go to the login screen. 
I login as administrator, or guest or a teacher, or whomever.
Then after it verifies my information, it redirects me to http://www-p.mydomain.com/moodle.

However in my config.php file, the following is set correctly:
$CFG->wwwroot   = 'http://www.mydomain.com/moodle';

Why would the script be referencing www-p   ???  Is this a problem with the scripts?

Thanks!

kirsten
Average of ratings: -
In reply to kirsten montgomery

Re: after login, redirect goes to wrong URL

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
It's not Moodle ... you need to discuss this with your hosting provider.
In reply to Martin Dougiamas

Re: after login, redirect goes to wrong URL

by kirsten montgomery -

Thanks so much for your response Martin.  Yes, you are right (of course!).  The problem was internal with our server.  Internally, the server uses the www-p.mydomain.com for redirects.  They must have had something configured incorrectly but they have fixed it.

Thanks!

kirsten