ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Masking Access to the Control Panel

August 10, 2011 11:51am

Subscribe [3]
  • #1 / Aug 10, 2011 11:51am

    David Roberts

    250 posts

    Hi

    I am using MSM and I am setting up other sites using the Masking Access to the Control Panel method. The main site plus one other seems to be working OK.

    I have set a up a further site and when I try and log in nothing happens, it does not login just stays on the login page.

    Thanks

    David

  • #2 / Aug 11, 2011 4:25am

    John Henry Donovan

    12339 posts

    Hi David,

    What version and build of both EE and MSM are you using?
    Are you using any add-ons?

    Can you explain what you did to set-up each site? Did you duplicate the sites or make blank MSM sites?
    Is each site a different domain or a different folder?

    What did you change in each admin.php for each site?

    What are you using for the Control Panel Session Type under Security and Session Preferences

  • #3 / Aug 11, 2011 5:54am

    David Roberts

    250 posts

    Hi John

    What version and build of both EE and MSM are you using?

    2.1.3 20101220 - MSM Version: 2.0 Build: 20101215 No its not the latest version but i am still over 4 weeks into trying to get another site to work with the latest version so will not be updating this one.

    Are you using any add-ons?

    yes
    Firemail   1.7.2
    Freeform   3.0.5
    Sitemap   2.2.1
    Sl_developer_info   1.0.0
    Shortcut   1.1.1
    Mountee   2
    Nsm_live_look   1.1.2
    Hits   2.0
    Nsm_better_meta   1.1.2
    Key_search   1.3
    Taggable   1.4.5
    M62_backup   1.6.2
    Matrix_multi_upload   0.9.1

    Can you explain what you did to set-up each site? Did you duplicate the sites or make blank MSM sites?

    Made blank sites

    Is each site a different domain or a different folder?

    Each site is a different domain with a different folder on Engine hosting this is there set-up.

    What did you change in each admin.php for each site?

    I change the   $assign_to_config[‘cp_url’] file to the domain name plus admin name. Each folder has a admin.php file, index.php file and a path.php file plus a .htaccess file in a folder.

    What are you using for the Control Panel Session Type under Security and Session Preferences

    cookies only

  • #4 / Aug 12, 2011 4:34pm

    Kevin Smith

    4784 posts

    Hi David,

    Hi John

    What version and build of both EE and MSM are you using?

    2.1.3 20101220 - MSM Version: 2.0 Build: 20101215 No its not the latest version but i am still over 4 weeks into trying to get another site to work with the latest version so will not be updating this one.

    I totally understand that, but please do be aware that we may not be able to support you much on that version. There have been a slew of bug fixes since 2.1.3, many of them relating to MSM.

    Are you using any add-ons?

    yes
    Firemail   1.7.2
    Freeform   3.0.5
    Sitemap   2.2.1
    Sl_developer_info   1.0.0
    Shortcut   1.1.1
    Mountee   2
    Nsm_live_look   1.1.2
    Hits   2.0
    Nsm_better_meta   1.1.2
    Key_search   1.3
    Taggable   1.4.5
    M62_backup   1.6.2
    Matrix_multi_upload   0.9.1

    Could you try globally disabling extensions to make sure that this isn’t the fault of an unruly add-on?

    Can you explain what you did to set-up each site? Did you duplicate the sites or make blank MSM sites?

    Made blank sites

    Is each site a different domain or a different folder?

    Each site is a different domain with a different folder on Engine hosting this is there set-up.

    What did you change in each admin.php for each site?

    I change the   $assign_to_config[‘cp_url’] file to the domain name plus admin name. Each folder has a admin.php file, index.php file and a path.php file plus a .htaccess file in a folder.

    You shouldn’t need that path.php file there, unless that’s a custom file of your own making. path.php is a file from EE 1.x.

    Could you post here the contents of your .htaccess files on the secondary sites? Both the one that is working and the one that isn’t?

  • #5 / Aug 12, 2011 5:12pm

    David Roberts

    250 posts

    Could you try globally disabling extensions to make sure that this isn’t the fault of an unruly add-on?

    Made no difference

    Could you post here the contents of your .htaccess files on the secondary sites? Both the one that is working and the one that isn’t?

    They both use the same info, the is the rewrite section, they are too long to put all of it here.

    IfModule mod_rewrite.c>  
    # Enable Rewrite Engine 
    # ------------------------------ 
    RewriteEngine On 
    RewriteBase /  
    # Redirect index.php Requests 
    # ------------------------------ 
    RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC] 
    RewriteCond %{THE_REQUEST} !/system/.* 
    RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,L]  
    
    # Standard ExpressionEngine Rewrite 
    # ------------------------------ 
    RewriteCond $1 !\.(css|js|gif|jpe?g|png) [NC] 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteRule ^(.*)$ /index.php/$1 [L]
    
    RewriteCond %{HTTP_HOST} ^www\.hhhhhhhhhhhh\.co$ [NC]
    RewriteRule ^(.*)$ <a href="http://hhhhhhhhhhhh.co/$1">http://hhhhhhhhhhhh.co/$1</a> [R=301,L]
    </IfModule>
  • #6 / Aug 12, 2011 6:13pm

    Kevin Smith

    4784 posts

    For the sake of troubleshooting, could you disable the .htaccess file on the site where you’re unable to login. What results are you seeing now?

  • #7 / Aug 18, 2011 10:56am

    David Roberts

    250 posts

    Still can’t login to the site, but it does work with Mountee.

  • #8 / Aug 19, 2011 5:41pm

    Kevin Smith

    4784 posts

    Ok, be on the lookout for an email from me, David. I want to get a look at this first-hand.

  • #9 / Aug 23, 2011 2:43am

    John Henry Donovan

    12339 posts

    David,

    I made a few changes and all seems ok now. Can you confirm please?

  • #10 / Aug 24, 2011 4:29pm

    Lisa Wess

    20502 posts

    Hi, David,

    Just checking in; did John Henry’s modifications help out?

    Thanks!

  • #11 / Aug 25, 2011 10:03am

    David Roberts

    250 posts

    Hi Lisa

    One site is still not working but I sent the info by email.

    David

  • #12 / Aug 25, 2011 12:41pm

    Kevin Smith

    4784 posts

    Please check with EngineHosting regarding that site that isn’t working. It appears the directory that you intend to be the web root of that domain name isn’t actually configured that way, and EH should be able to fix that up for you.

  • #13 / Aug 25, 2011 1:13pm

    David Roberts

    250 posts

    Kevin

    That has been fixed. Thanks

  • #14 / Aug 25, 2011 5:18pm

    Lisa Wess

    20502 posts

    Thanks for letting us know, David, and glad you got it all up and working.

    Please let us know if anything else comes up!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases