Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    In the middle of PiHKAL
    Posts
    15
    Plugin Contributions
    0

    Default Re: Securing /includes/admin by renaming; problem with links

    I do have the closings. I don't know how those got posted there w/o them...

    this is what I have:
    define('DIR_WS_ADMIN', '/xyz123/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/xyz123/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    Could this be what is needed?
    define('DIR_WS_XYZ123', '/xyz123/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_XYZ123
    ', '/xyz123/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    Other than that, I don't know why this isn't working. Do I need to restart it or reboot it somehow?

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Securing /includes/admin by renaming; problem with links

    Quote Originally Posted by caffiendo View Post
    I do have the closings. I don't know how those got posted there w/o them...

    this is what I have:
    define('DIR_WS_ADMIN', '/xyz123/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/xyz123/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    Could this be what is needed?
    define('DIR_WS_XYZ123', '/xyz123/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_XYZ123
    ', '/xyz123/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    Other than that, I don't know why this isn't working. Do I need to restart it or reboot it somehow?
    No, the second one is incorrect. The first change you made is right and it should be the only place you have to change aside from the DIR_FS_ADMIN.

    Here's a couple of silly questions... did you upload the changed file to your domain? Did you change the name of the folder in the url? (as in http://www.myzencart.com/xyz123/ instead of http://www.myzencart.com/admin/)

  3. #3
    Join Date
    Feb 2007
    Location
    In the middle of PiHKAL
    Posts
    15
    Plugin Contributions
    0

    Default Re: Securing /includes/admin by renaming; problem with links

    I thought the DIR_WS_ADMIN was supposed to stay as-is. I just wanted to check on that.

    I did upload the changed files and set the permission to 444 (read-only). I also made the new directory (XYZ123) and copied everything to it with this:
    cp -rv * ~/sitename/zen/XYZ123

    I then checked the files and all copied correctly. I then renamed the admin folder as a backup folder.

    When I login to my admin account I goto: http://www.site.com/zc/xyz123/
    I then enter my admin user name and password. It logs in fine.

    When I go to the menus, like TOOLS -> DEVELOPER's TOOLS, the link still points to http://www.site.com/zc/admin/

    Is there something I'm missing here?

  4. #4
    Join Date
    Feb 2007
    Location
    In the middle of PiHKAL
    Posts
    15
    Plugin Contributions
    0

    Default Re: Securing /includes/admin by renaming; problem with links

    I just logged off my browser and restarted it and it still points to the admin page, not the new site.

    I then went into the cache and cleared it, restarted firefox and it now points to xyz123..

    Thanks for the help Afo!

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Securing /includes/admin by renaming; problem with links

    No problem! Glad you got it sorted. Gee... closing the broswer and clearing the cache... how... simple.

 

 

Similar Threads

  1. Problem with renaming Admin folder
    By TzuLady in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 21 Apr 2010, 06:19 AM
  2. Securing my admin directory with .htpasswds produces a 404
    By corrado444 in forum General Questions
    Replies: 2
    Last Post: 31 Oct 2008, 01:22 AM
  3. Problem with Securing my site
    By peppyone in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 26 Jul 2007, 02:17 AM
  4. Problem renaming admin directory!
    By IronMan101 in forum General Questions
    Replies: 2
    Last Post: 15 Jul 2007, 08:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg