Install into Sub-Domain and can't login

Permalink
I've installed C5 into a sub-domain and when I try and login everything appears ok except I just go to a default page with: "Sign In to Edit this Site". Click on this and I go around in circles.

I've deleted the database and all C5 directories, done a fresh install and DB creation, restarted Apache all to no avail.

Neville

nevf
 
cannonf700 replied on at Permalink Reply
cannonf700
what does your .htaccess file read?
nevf replied on at Permalink Reply
nevf
There is no .htaccess in the directory C5 is installed in, which is the document directory for the sub-domain. ie. mydomain.com/c5cms which is accessed via. c5cms.mydomain.com

mydomain.com has a .htaccess with:

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.mydomain.com
cannonf700 replied on at Permalink Reply
cannonf700
For now...try going to c5cms.mydomain.com/index.php/dashboard/
and see if you can get in that way. Not a solution but at least you can get into your site.

keep an eye on the address path.
1.http://c5cms.mydomain.com/index.php/...
2.http://c5cms.mydomain.com/index.php/login/...
3.http://c5cms.mydomain.com?????????...

where is the loop taking you?
nevf replied on at Permalink Reply
nevf
Thanks for your help. Tis early morning again for me and back to it.

c5cms.mydomain.com/index.php/dashboard/ lets me login and everything works correctly (or seems to).

c5cms.mydomain.com gives me a default home page with: 'Sign In to Edit this Site'. I click on this and get c5cms.mydomain.com/index.php/login

I enter my login details and I'm taken back to c5cms.mydomain.com with: 'Sign In to Edit this Site'.

If I then use:
c5cms.mydomain.com/index.php/dashboard/ the Dashboard opens and all seems ok.

I have several C5 test installs which all work fine. This is the first and only one installed on a sub-domain. I wanted to use this to build the real site before moving it to the live mydomain.com

Neville