Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2004
    Posts
    37
    Plugin Contributions
    0

    help question Problem with Securing my site

    My website is not public yet because I cannot complete security my site. Renameing the admin folder and editing the two configure.php files is the issue with the problem.

    I have followed what I believe is the exact instruction and fail to get it right. I feel as though there is something I am missing.

    I make the changes as suggested then try to enter the admin area and I do get the log in page but my log in fails to "page not found". I have done this several times now and I am almost ready to scream. Any suggestions to offer?

    The instruction:
    A- Open your admin/includes/configure.php, using a simple text editor like notepad.
    Change all instances of /admin/ to your chosen new admin folder-name.

    Change this section:

    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    And this section:

    define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

    B- Find your Zen Cart /admin/ directory, using your FTP software or your webhost File Manager.
    Rename the directory to match the settings you just made in your admin/includes/configure.php.
    My changes look like this:

    define('DIR_WS_ADMIN', '/newname/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/myname/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    And this section:

    define('DIR_FS_ADMIN', '/home/mywebsitename.com/www/public/newname/');
    define('DIR_FS_CATALOG', '/home/mywebsitename.com/www/public/');

    Where I entered newname is where I put my new directory name.

    Where I entered mywebsitename.com is where my actual website name is.

    What am I doing wrong?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problem with Securing my site

    Quote Originally Posted by peppyone View Post
    My changes look like this:

    define('DIR_WS_ADMIN', '/newname/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/myname/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    And this section:

    define('DIR_FS_ADMIN', '/home/mywebsitename.com/www/public/newname/');
    define('DIR_FS_CATALOG', '/home/mywebsitename.com/www/public/');

    Where I entered newname is where I put my new directory name.

    Where I entered mywebsitename.com is where my actual website name is.
    1. Are you sure you wanted "myname" here? Shouldn't it also be "newname" ?
    define('DIR_WS_ADMIN', '/newname/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/myname/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    2. In these lines, the ONLY part you should have changed was "/admin/" to "/newname/":
    define('DIR_FS_ADMIN', '/home/mywebsitename.com/www/public/newname/');
    define('DIR_FS_CATALOG', '/home/mywebsitename.com/www/public/');
    If it already had "mywebsitename.com", that's fine, but you should NOT have touched anything on those lines other than changing /admin/ to /newname/
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2004
    Posts
    37
    Plugin Contributions
    0

    help question Re: Problem with Securing my site

    Hi,

    Yes that was a mistake in my post. I did actually type in my newname.

    All should be well, right? But it isn't.

    Quote Originally Posted by DrByte View Post
    1. Are you sure you wanted "myname" here? Shouldn't it also be "newname" ?

    2. In these lines, the ONLY part you should have changed was "/admin/" to "/newname/":If it already had "mywebsitename.com", that's fine, but you should NOT have touched anything on those lines other than changing /admin/ to /newname/

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Problem with Securing my site

    Have you FTPed or accessed the Zen Cart files and directories and renamed the admin directory to match your NEW_NAME? (note it is case sensitive and should not have any spaces in the name)
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Dec 2004
    Posts
    37
    Plugin Contributions
    0

    help question Re: Problem with Securing my site

    Hi Kim,

    Yes I did that. I actually use either Cute FTP or Dreamweaver. Not once but a few times now. I have used a simple name, all lower case. I am totally stumped.

    I thought maybe more than the examples may have been required. I have been careful about the spacing and I am not a complete novice and I am very careful with detail. I guess just not careful enough. Lost in the world of Zen Cart.

    Toni

  6. #6
    Join Date
    Dec 2004
    Posts
    37
    Plugin Contributions
    0

    Default Re: Problem with Securing my site

    for Kim and DrByte,

    I appreciate your replies. I did resolve the problem. I dug around to some earlier posts and found someone with the same problem I had.

    I think the problem was I was using dreamweaver to edit my configure.php files. This time I repeated the process using notepad and everything went as smooth as silk.

    I was going crazy. So now I will proceed to secure my site and not use dreamweaver.

    Toni

 

 

Similar Threads

  1. Help with securing site (SSL)
    By JulieNicole23 in forum General Questions
    Replies: 1
    Last Post: 27 Mar 2008, 04:54 AM
  2. securing site wont work
    By Dale Dugas in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Jan 2008, 11:46 PM
  3. Securing /includes/admin by renaming; problem with links
    By caffiendo in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Feb 2007, 10:29 PM
  4. Securing my site...
    By Alex Clarke in forum General Questions
    Replies: 9
    Last Post: 7 Oct 2006, 02:30 PM

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