Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to setup paths after I moved from one server to another

Quote Reply
How to setup paths after I moved from one server to another
Hello,
I just moving my entire site from one hosting to another (links 3.3.0).
I moved the database and zipped all www directory and unzipped them on the new server.
I then ran this file to replace all paths in all LinksSQL in the cgi-bin directory:
==============
Code:
#! /bin/sh
find . -type f -name '*.*' -print | while read i
do
perl -pi -e 's|/home/www/mydomain|/home/mydomain/www|g' $i
done
==============
Now, what file should I configure to make Links SQL work? as I need to setup paths and username and password to the newly moved mysql database.
Does LinksSQL works with only the IP address (before changing the DNS of the domain to point to the new server)?

Thank you
Mark
Subject Author Views Date
Thread How to setup paths after I moved from one server to another Mark2 27242 Oct 15, 2014, 9:57 PM
Thread Re: [Mark2] How to setup paths after I moved from one server to another
tandat 25368 Oct 19, 2014, 5:55 PM
Thread Re: [tandat] How to setup paths after I moved from one server to another
Mark2 25350 Oct 19, 2014, 6:13 PM
Thread Re: [Mark2] How to setup paths after I moved from one server to another
tandat 25344 Oct 19, 2014, 7:29 PM
Post Re: [tandat] How to setup paths after I moved from one server to another
Mark2 25308 Oct 19, 2014, 7:44 PM