LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Moving my installation of litespeed (http://www.litespeedtech.com/support/forum/showthread.php?t=2447)

zep 11-04-2008 01:33 PM

Moving my installation of litespeed
 
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 11-04-2008 01:39 PM

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 11-04-2008 01:48 PM

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!

mistwang 11-04-2008 01:53 PM

give it a try, it does not hurt. The files under logs/ and cache/ directories do not have to be copied.

zep 11-04-2008 01:59 PM

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.m...ategory_Code=1

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

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

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

Thanks!

mistwang 11-04-2008 03:06 PM

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.


All times are GMT -7. The time now is 02:18 PM.