condog_aus Posted January 24, 2005 Posted January 24, 2005 My file manager in cpanel does not allow passwords unless they are in /httpsdocs/ Ive read about a fex contributions, but ive made too many changes to start over with virgin files. my shop runs from /httpdocs/shop 1. If i rename admin to say "santa" as an example and relocate it to httpsdocs/santa what script and where is it located do i need to change to get admin fully functioning? and 2. Do i just apply a password through httpsdocs in cpanel Thanks in advance.
Guest Posted January 24, 2005 Posted January 24, 2005 You will need to edit admin(santa)/includes/configure.php to point to the new location - then add your passwrod thru cPanel :D Matti
condog_aus Posted January 24, 2005 Author Posted January 24, 2005 So let me get this straight 1. Move admin to httpsdocs/ 2. Rename admin to say "santa" for example 3. Go into httpsdocs/santa/includes/santa.php and point it to its own new location . Hmmmm??????? doesnt seem right.
condog_aus Posted January 24, 2005 Author Posted January 24, 2005 Im assuming this is the line to modify. ive hasshed out some detail for security define('DIR_FS_ADMIN', '/home/httpd/vhosts/t######.com.au/httpdocs/shop/admin'); Would i change that to ('DIR_FS_ADMIN', '/home/httpd/vhosts/t######.com.au/httpsdocs/santa'); or ('DIR_FS_ADMIN', '/home/httpsd/vhosts/t######.com.au/httpsdocs/santa'); or ('DIR_FS_SANTA', '/home/httpd/vhosts/t######.com.au/httpdocs/santa');
Guest Posted January 24, 2005 Posted January 24, 2005 httpsdocs/santa/includes/configure.php Yes, this must be done - take a look at it and you will see :D Matti
condog_aus Posted January 24, 2005 Author Posted January 24, 2005 define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin') missed first bit above
condog_aus Posted January 24, 2005 Author Posted January 24, 2005 No tried about ten things and cant get it to work. Can you just be sepcific in which bit i have to change and what i change it to define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')
condog_aus Posted January 24, 2005 Author Posted January 24, 2005 Sorry to vent but this is friggen rediculous that something everyone needs to do is so dam hard and not documented. I cant get specific reply and ive exhausted the search funtion to find hundreds of half baked replys. Im about to smash this bloody thing and give up.
ozcsys Posted January 24, 2005 Posted January 24, 2005 Sorry to vent but this is friggen rediculous that something everyone needs to do is so dam hard and not documented. I cant get specific reply and ive exhausted the search funtion to find hundreds of half baked replys.Im about to smash this bloody thing and give up. <{POST_SNAPBACK}> I would try it in two steps. First rename the admin folder to "santa" leaving it exactly where it is and make sure everything is working. Then once that is done move the folder to where you want it to be and work on the correct paths. Doing two or three things at the same time you cannot be sure what the problem is. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
condog_aus Posted January 25, 2005 Author Posted January 25, 2005 Why is it that nobody knows how to explain this exact procedure for such a bsic thing that everyone has to do . Can it not be done If I change admin name to santa then relocate it from httpdocs/shop/santa to httpsdocs/santa exactly what to i change in this line below, cause ive tried like 50 different strings and none work define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')
condog_aus Posted January 25, 2005 Author Posted January 25, 2005 Na. Even when I rename it and leave it where it is i cant get tit to work.
AWWWW.WAHWAH Posted January 25, 2005 Posted January 25, 2005 Why is it that nobody knows how to explain this exact procedure for such a bsic thing that everyone has to do . Can it not be done If I change admin name to santa then relocate it from httpdocs/shop/santa to httpsdocs/santa exactly what to i change in this line below, cause ive tried like 50 different strings and none work define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin') <{POST_SNAPBACK}> Quit your whining and be patient for an answer! Maybe you can't follow instructions correctly on the above posts. Have you ever thought of that????!!! I was able to do it on my own with no help so I guess that makes me a genius! :D
Guest Posted January 26, 2005 Posted January 26, 2005 Why is it that nobody knows how to explain this exact procedure for such a bsic thing that everyone has to do ....exactly what to i change in this line below, cause ive tried like 50 different strings and none work define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin') <{POST_SNAPBACK}> If I remember right, you need to change more than just a couple of lines; you also need to change the admin config so that the paths for the catalog are correct (they won't be once you move the admin directory). But it was ages ago when I did this, so I'm not sure on specifics (and don't have the time to go back and work it out). ...and having a go at everyone is really not going to get you very far. Rich.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.