Category: Plesk

Plesk 11.5 And Apache Log Files

Plesk 11.5 makes some changes in how Apache log files are handled. Here are some notes: 1) Plesk 11.5 moves several directories out of the old vhosts/domain.com/, to vhosts/system/domain.com/. This includes conf, etc, pd, and statistics 2) Apache now puts the logs in vhosts/system/domain.com/logs. It creates a symlink at vhosts/system/domain.com/statistics/logs. 3) Plesk creates hard links in vhosts/domain.com/logs/ to the logs in vhosts/system/domain.com/logs/.  This lets FTP users download the logs but keeps the “real” logs in a safe place (“real” is in quotes, because with hard links, both locations are equally real – but the FTP-user-visible ones are owned by root, so the user can’t delete or mess with them). 4) The moral of the story is – don’t delete logs files in either location, or it screws up the hard links. If you have to delete a log, delete it in both places, restart apache, then manually recreate the hard

Read More »

Plesk 11.5 with Multiple PHP Versions

The latest version of Plesk support multiple PHP versions. The user or admin can select the version from the control panel. Once you have the PHP versions installed use  the /usr/local/psa/bin/php_handler utility to inform Plesk. for example:

Also here’s an article that shows how to build the alternate version on Debian, including accurate info about necessary patches: http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204  

Read More »

Redirect Loop on Plesk 11.5

If you get a rewrite loop in Plesk 11.5 then make sure you’ve set the Preferred Domain field correctly in the hosting settings. See this article for details: http://blogs.reliablepenguin.com/2013/08/09/canonical-rewrite-built-in-to-plesk-11-5 This can be especially tricky with WordPress. Make sure the site url in WordPress matches the preferred domain setting.

Read More »

Canonical Rewrite Built-in To Plesk 11.5

There’s a cool new feature in Plesk ll.5 that provides a “canonical rewrite rule” that you can turn on off from the panel. To find the setting, login to Plesk, drill down on your domain and go to: Websites & Domains -> Hosting Settings   Notice the “Preferred domain” field.   There are three options for this field: “None” – do nothing “domain.tld” – redirect to remove the www “www.domain.tld” -redirect to add the www Just set this field to your preference and Plesk will configure the appropriate rewrite rule in Apache.  

Read More »

WordPress Multi-site On Plesk

It’s easy to setup WordPress in multi-site mode on Plesk. Let’s assume you want to map:

to your multi-site installed on “acme.com”. From an SSH login on the server, just edit the file:

If the file does not exist then create a new empty file. Add the following line to the top of the file:

Save the file and tell plesk to reconfigure:

Now restart Apache:

Now you’re ready to go with multi-site. There’s an article here that addresses subdomain and webmail issues: https://codex.wordpress.org/Configuring_Wildcard_Subdomains_for_multi_site_under_Plesk_Control_Panel

Read More »

Categories

Get a free consultation from Reliable Penguin

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