I’ve been trying to install wordpress on my VPS and have been running into weird permission and permalink issues. I have everything working now (thanks to the sticky), but did I compromise anything by using this process?
- Did a basic LAMP install (running Debian x86).
- Set IP-based virtual host for multiple sites in “etc/apache2/sites-available/default/”. (I am using multiple IP’s)
- Installed wordpress in DocumentRoot and added .htaccess in there as well.
- “chown -R www-data:www-data /var/www/wordpress_site/”
- created rewrite.load in “/etc/apache2/mods-enabled/” and added the line “LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so”
I have limited resources on the server, so would there be a difference in the following?
A: Single wordpress install in “/usr/share/wordpress/” and creating a symlink to the DocumentRoot of all the sites I would want wordpress on.
B: Putting the contents of the wordpress install in each DocumentRoot of the sites I want wordpress on.
I have done the latter at the moment and am concerned if anything is a security risk as I’ve messed with permissions and put my install in the DocumentRoot.
Here’s a link to my virtual host file: http://www.heypasteit.com/clip/03C1