Menu

Dipesh Majumdar

Blog and Paintings

What are the steps to migrate docroot from one location to another

November 13, 2013

Overall changes needed in these files  –

 

httpd.conf ### mapping change from <old path> to <new path>

invalidator.pqrs.conf

www.website_name.conf

www.website_name.any  ###this website_name.any file would have been included in dispatcher.any file.

common.conf

 

Then restart apache.

 

Note:

In order to find which files contain the old path </xyz/sites/> in location: /etc/pqrst, do this:

 grep -rn '/xyz/sites' /etc/pqrst 

And if the above command returns a lot of files, and you need a particular file to see - say < file_name.xyz>, do this: 

 grep -rn '/u01/sites' /etc/pqrst |grep file_name.xyz

Go Back

Comment