Custom error documents in Plesk 12

To add custom error documents in plesk 12, you will need to edit/add an .htaccess file

# cd /var/www/vhosts/domain.com/httpdocs/

# mkdir error_pages

# nano .htaccess
ErrorDocument 404 /error_pages/404.php
#cd error_pages

# nano 404.php
<h1>Not Found</h1>

Save the file and then test with a bogus URL

UTF-8, but your server is reporting US-ASCII

I get this warning message( Your feed appears to be encoded as “UTF-8”, but your server is reporting “US-ASCII” ) when I try to validate my xml under http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.domain.com%2Frss.xml

You should be able to set the charset in .htaccess. This should work:


# AddCharset UTF-8 .xml