Moving my installation of litespeed

zep

Active Member
#1
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?

Thanks a ton!:D
 

mistwang

LiteSpeed Staff
#2
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.
 

zep

Active Member
#3
You guys are quick!

so I would be ok to copy litespeed over to the home directory, stop the old service, and start the new one?

Thanks!
 

zep

Active Member
#5
ok, I will

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?

old page is http://www.mysite.com/mm5/merchant.mvc?Screen=CTGY&Store_Code=MC&Category_Code=1

New page will be http://www.mysite.com/keyboard-trays/build-your-own-systems

so will this work?
RewriteRule ^page/merchant.mvc?Screen=CTGY&Store_Code=MC&Category_Code=1 /keyboard-trays

and is there any limit to how many pages I can redirect?

Thanks!
 

mistwang

LiteSpeed Staff
#6
You can use a few hundreds of rewrite rules, but using too many rewrite rules are not efficient as all requests are going through those rules.
 
Top