Category: Plesk

Add Google Apps DNS Records To Domain On Plesk From Command Line

Here’s the command line steps to add Google Apps to a domain under Plesk:

Read More »

Block PHP Execution With .htaccess In Folder

For a server using Plesk add the following lines to a .htaccess file to stop execution of PHP scripts in the folder:

I like to use this to protect cache and image upload folders that are writable by the web server but should not be able to execute code. As a further precaution, chown the .htaccess to root, so it can’t be overwritten by Apache or FTP, and “chattr +i” to be sure about it.

Read More »

Rebuild Plesk Apache Config Files

Recently we’ve seen a couple of cases of corruption in the Apache config files generated by Plesk. The best procedure we’ve found for fixing the problem is Resolution #2 in this KB article from Parallels: http://kb.parallels.com/en/111605

Read More »

WordPress URL Rewrites On Plesk 10 Windows

We needed to get URL rewrites working on a Plesk 10 Windows server for a client wanting friendly URLs in WordPress. Turned out to be pretty easy …. 1. Make sure the Microsoft IIS URL Rewrite 2 extension is installed. You can find it here: http://www.iis.net/download/URLRewrite 2. Create a web.config file in the folder where you have WordPress installed with the following:

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.