LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Moving my installation of litespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2008, 01:33 PM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
Lightbulb 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!
Reply With Quote
  #2  
Old 11-04-2008, 01:39 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
  #3  
Old 11-04-2008, 01:48 PM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
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!
Reply With Quote
  #4  
Old 11-04-2008, 01:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
give it a try, it does not hurt. The files under logs/ and cache/ directories do not have to be copied.
Reply With Quote
  #5  
Old 11-04-2008, 01:59 PM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
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!
Reply With Quote
  #6  
Old 11-04-2008, 03:06 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:45 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.