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.

Glitch with 'Login as Member' function when system folder is above Webroot

January 27, 2011 3:03pm

Subscribe [3]
  • #1 / Jan 27, 2011 3:03pm

    Jonathan Schofield

    175 posts

    I’m using v2.1.3 Build 20101220.

    I have the system folder renamed and running above the Webroot and the login page renamed. The only Add-on installed is Wygwam.

    I have a Members group granted access to the Control Panel and a member assigned to that group—let’s call him Jim.

    If I log out as a Super Admin and then log in as Jim I can get in and move around as I would expect Jim to be able to.

    This also works if I am logged in as a Super Admin, view Jim’s account, go to Login as Member, choose Other and set the URL to my custom login URL.

    If, however, I use the Login as Member function and choose Control Panel as the URL to be redirected to, I get a 404 with

    The requested URL /system/index.php was not found on this server

    (‘system’ used here as a placeholder for the purposes of this thread)

  • #2 / Jan 28, 2011 3:53am

    John Henry Donovan

    12339 posts

    Jonathan,

    In your renamed index.php you use for logging in, uncomment the following line and add the url to the the same file

    $assign_to_config['cp_url'] = 'http://www.mydomain.com/admin.php'; // masked CP access only
  • #3 / Jan 28, 2011 4:50am

    Jonathan Schofield

    175 posts

    Thanks, John.

    I had edited that line but I had done it wrongly :-$

    Thanks for your help, all fine now.

  • #4 / Jan 28, 2011 10:11am

    Ingmar

    29245 posts

    Very glad to hear it. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases