nachopo
03-19-2001, 08:52 PM
hi there!
One customer deleted his www directory in my reseller plan. Who knows what I can do ?
He created a new www directory but its like a new one and have no relation with http://www....
any idea ?
regards
dektong
03-19-2001, 09:24 PM
don't you have backup?
cheers,
:beer:
alpha
03-19-2001, 09:32 PM
well, i would like to know this as well...
how do you fix it when your customer deletes his www directory when you are reselling them?
i mean, i would contact whoever im reselling for... but then again, i would like it if i could fix the problem myself
:)
projo
03-19-2001, 09:42 PM
There is the possibility that he didn't delete the directory but the symbolic link to the directory. In a simple Red Hat Linux install all www directories are actually under the documentroot, e.g. /home/httpd/html/user1, with a symbolic link in/from the user's directory, e.g. /home/user1. If you have root privileges you can re-establish the link with something like:
ln -s /home/httpd/html/user1 www
while in the user1's directory (or else use /home/user1/www instead of just www).
I have no idea what additional complexities are added by the reseller/hosting environment.
Thanks for letting me get that off my chest.
Gary
nachopo
03-19-2001, 10:52 PM
hi again,
my problem is not to recover data, my problem is to setup serrvers... .my hostin service told me that they recomend me to cancel account and setup again.
regards,
Originally posted by nachopo
my problem is not to recover data, my problem is to setup serrvers... .my hostin service told me that they recomend me to cancel account and setup again.Well, that seems kind of silly, because Projo's suggestion or a similar procedure is likely to work. And if nothing else, being able to deal with something like that quicker and easier than deleting and re-installing the account will give your customer a little more confidence (even thought it was their fault) that you're in control of things.
Honestly, to me it sounds like your host just doesn't want to be bothered, or they don't know themselves, or they just don't want to share knowledge with you. But that's just me, jumping to conclusions.
For both you and alpha, the exact procedure would differ depending on the specifics of the server you're set up on. Your host should be able to explain it to you.