Subdomain login issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CrumbDown
    New Member
    • Feb 2012
    • 6
    • 4.1.x

    [Forum] Subdomain login issues

    Hi

    I have changed my forum url to forum.domain.com. I want to log into the admincp: forum.domain.com/admincp. I got the login screen but when entered correct details, the login page redirects back to the same page and not allowing me to log in. If I go to domain.com/forum/admincp, all is well BUT........

    my .htaccess file has this:

    Code:
    RewriteEngine OnRewriteCond %{HTTP_HOST} domain.com
    RewriteCond %{REQUEST_URI} ^/forum/(.*)$
    RewriteRule .* http://forum.domain.com/%1 [R]
    If the .htaccess file is removed or not, login from the forum.domain.com/admincp does not work. Is there a DB issue?

    I must have the above code because I need to redirect customers from "/forum" to "forum."

    BTW, CMS is in the root. But VB was installed in "/forum".

Related Topics

Collapse

Working...