PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 7-29-03, 06:49 AM   #1
evert
Originally NL, now NO
 
evert's Avatar
 
Join Date: Dec 2001
Location: Sarpsborg, Norway
Posts: 226
Reputation: 14
I renamed the /admin directory as instructed. Now I have broken links...

Hi!

I've renamed the admin directory, as instructed. But now, when trying to admin my store, there are still links being generated that point to /admin


Where do I have to change the directory name as well? I've done the configure.php in the admin/includes, but that doesn't seem to be enough...


Greetz,
Evert

Last edited by evert : 7-29-03 at 09:19 AM.
evert is offline  
Old 7-29-03, 11:50 AM   #2
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
There's also a configure.php in catalog/includes

I don't recall seeing a suggestion to rename the admin folder. I do see one saying to protect it with a password.
__________________
Steve
stevel is offline  
Old 7-29-03, 12:12 PM   #3
evert
Originally NL, now NO
 
evert's Avatar
 
Join Date: Dec 2001
Location: Sarpsborg, Norway
Posts: 226
Reputation: 14
The INSTALL file says the following:

Code:
This creates a directory called 'oscommerce-2.2ms2'. Enter this directory and copy the 'catalog' directory to the webroot path of your webserver: cd oscommerce-2.2ms2 cp -R catalog /usr/local/apache/htdocs/ For this example, '/usr/local/apache/htdocs/' is used as the webroot path of the Apache webserver. Do the same for the 'admin' directory but rename the directory to a unique and secret name. This directory does not have to reside inside the catalog directory, though may need to be manually configured.
evert is offline  
Old 7-29-03, 01:23 PM   #4
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Ok - I missed that.
__________________
Steve
stevel is offline  
Old 7-29-03, 02:09 PM   #5
evert
Originally NL, now NO
 
evert's Avatar
 
Join Date: Dec 2001
Location: Sarpsborg, Norway
Posts: 226
Reputation: 14
np!


Well, currently I am using .htpasswd / .htaccess method as well.

But I still think there should be some explanation on how to successfully relocate the admin directory, without breaking stuff...
evert is offline  
Old 7-29-03, 02:29 PM   #6
cmschool
 
Posts: n/a
are you sure that this doesn't mean change the directory to something like /htdocs/admin instead of the default directory?
 
Old 7-29-03, 02:31 PM   #7
evert
Originally NL, now NO
 
evert's Avatar
 
Join Date: Dec 2001
Location: Sarpsborg, Norway
Posts: 226
Reputation: 14
Well, whether I rename it or move it, the connections break...
evert is offline  
Old 7-29-03, 09:44 PM   #8
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Well, looking at the sources, it seems that the only place you should need to change is the admin/includes/configure.php Perhaps you should try clearing your browser cache? I've moved my admin folder a couple of times and it has worked fine.
__________________
Steve
stevel is offline  
Old 7-30-03, 01:37 AM   #9
evert
Originally NL, now NO
 
evert's Avatar
 
Join Date: Dec 2001
Location: Sarpsborg, Norway
Posts: 226
Reputation: 14
And all you changed was DIR_FS_ADMIN?

Because I've tried that, but it still doesn't work. Even after clearing the browser cache...


Weird...
evert is offline  
Old 7-30-03, 06:16 AM   #10
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
My version also has a DIR_WS_ADMIN which I had to change as well. I have the 20030518 package installed.
__________________
Steve
stevel is offline  
Old 7-30-03, 06:38 AM   #11
evert
Originally NL, now NO
 
evert's Avatar
 
Join Date: Dec 2001
Location: Sarpsborg, Norway
Posts: 226
Reputation: 14



I completely missed that one!


I've changed both now, and it works!


Thank you, kind sire!
evert is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:50 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.