Forums / General Questions / Editing configure.php to secure site

Editing configure.php to secure site

Locked

Started by toina on 1 Jul 2007, 1:56 AM · Views: 960

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Jul 2007, 1:56 AM
#1
toina avatar

toina

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Editing configure.php to secure site

Hi, when I went in to rename my admin lines as per ZC instructions,

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/');*

I didn't have these two lines as an exact description:

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

*Instead I have:

define('DIR_FS_ADMIN', '/home/content/y/l/s/ylsynergy/html/zencart/admin/');
define('DIR_FS_CATALOG', '/home/content/y/l/s/ylsynergy/html/zencart/');

When I tried to replace it to match ZC instructions, it returns php line errors.

Can you see any implications for not having exactly these two lines and if so, what do I need to do to correct it for my site to work?

Thanks

Toina

1 Jul 2007, 10:43 PM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Editing configure.php to secure site

Not 100% sure I get what you're on about, but if it's renaming admin, then all you do is replace the word "admin" in your configure.php with whatever name you now use for admin.

And remember not to get your 2 configure files mixed up.:wink:

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

3 Jul 2007, 7:10 AM
#3
toina avatar

toina

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Re: Editing configure.php to secure site

Thanks for your reply. I realise all you do is rename 'admin'.
What I'm trying to say is that if my correct configure file does not have exactly what ZC instructions say I should have, is there any implications?

3 Jul 2007, 8:24 AM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Editing configure.php to secure site

Perhaps I'm being particularly dense, but I still don't see your point - or perhaps I'm just not understanding what you mean by "exact".

All the stuff in the define statement is the location on your server.

Do whatever you're trying to do...and if it doesn't work, undo your changes.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !