mod_rewrite blocks login (Moodle 2.0.2+)

mod_rewrite blocks login (Moodle 2.0.2+)

by Dicker Bub -
Number of replies: 1

Hi!

I am running a nice moodle in a sub-directory on in a shared web-space.

I have a second domain which has no web-space, but I would like to redirect it to the sub-directory mentioned above.

I have successfully redirected it via mod_rewrite on the server, but I cannot login to moodle anymore - the login page just reloads.

My code in the mod_rewrite is:

/directory/moodle http://www.my-second-domain.com

Any ideas?

Cheers

Dicker Bub

Average of ratings: -
In reply to Dicker Bub

Re: mod_rewrite blocks login (Moodle 2.0.2+)

by Guillermo Madero -

Did you solve it? From your description it sounds as if the first server is redirecting to itself.