Copying site from external LAMP VPS to Debian/Nginx Linode?
I'm currently trying to figure out how to sync between my current, live LAMP VPS (CentOS) to my new Debian/Nginx Linode.
I'm primarily hosting video, and it was recommended I try Lighttpd, but research showed it couldn't read .htaccess files, so I want to try Nginx.
I'm not that great with Linux, still learning, but have managed to successfully setup Debian Lenny with Nginx, MySQL and PHP.
I was looking into trying to use rsync to sync the two VPSs, but it isn't entirely easy at this point to work out which is which. I also need to sync the MySQL databases.
Has anyone got any ideas how this would work?
Thanks!
5 Replies
As for that exception that I mentioned, the commercial Litespeed server supports Apache's config file and .htaccess files, as it's designed to be a drop-in replacement. The free version has limitations, however.
The problem I have with .htaccess is they handle some url rewriting, and as the links are all known know I want to keep the links the same.
Is nginx of lighttpd easier to get to work with the data in the htaccess files?
If this isn't the case I may as well just stick with a LAMP stack.
nginx/lighttpd both support URL rewriting, they just don't do it from .htaccess files. In lighttpd's case, it does it from the main config file.