I have litespeed installed and configured nicley, but noticed my /opt (linux fedora default) partition is filling up fast. I have plenty of room in the /root or /home partitions, and would like to migrate my install there.
I assume doing a copy to that partition is the best way, the stopping the service in the original instance, and starting the new copy would work, but assuming sometimes gets me in trouble.
What issues might I run into? Is there a better way of solving this issue?
You may have to install LSWS to /home directory. /root is not good as it is only readable by root.
It is important to keep the ownership and permission mask when you copy the directory.
Another choice is to reinstall LSWS to new location and copy over the existing configuration file.
Im also going to take advantage of all this attention Im getting to ask one more question...
server rewrites / redirects
I am switching my website software and need to map the old pages of the site to the new url freindly pages Im now generating, so when I do the redirect (each page will have to have its own) I do it like this?