• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How To: mod_spdy & Plesk 12 - Getting past the default Apache page

moggiex

New Pleskian
Howdy,

I hope this helps someone else as this drove me nuts until I was able to work this out.

Just made your website die?
Like me you will have followed the instructions from the Google SPDY page and are most likely looking at the standard Apache page. ARRRRRRRRHHHHH!

In Plesk go to Server > Apache Web Server uncheck spdf (normally in the second column) and press OK

The Problem:
If you're making the move to 100% SSL and want to use Google's mod_spdy here https://developers.google.com/speed/spdy/mod_spdy/ you run into a "Default Apache page" after following the installation instructions.

Plesk inserts SSLRequireSSL into the vhosts files which causes mod_spdy to fail and you end up with a lovely default apache page on your website (thanks!).

Grrrrr

The Answer
Follow the instructions on this page http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=68693.htm and create your own custom version.

Then in this file \usr\local\psa\admin\conf\templates\custom\domain\domainVirtualHost.php change line 194 so that you have a #symbol in front of SSLRequireSSL

Or in step by step instructions:
  1. Read this page fully http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=68693.htm
  2. Create a new folder here called "custom" - "/usr/local/psa/admin/conf/templates/"
  3. Copy the contents of "/usr/local/psa/admin/conf/templates/default/" to "/usr/local/psa/admin/conf/templates/custom/"
  4. From here navigate to "custom/domain/domainVirtualHost.php" and open the file
  5. Around line 194, put a # symbol infront of SSLRequireSSL so that it reads as #SSLRequireSSL
  6. You then need to trigger plesk to rebuild, a simple way is to change one of the settings for PHP in one of your websites and press apply
  7. And then tada! You have mod_spdy working

PS. Also make sure that you enable mod_spdy in Server > Apache Web Server

I really do hope that this helps someone else!

Matt

PS. If you can make any suggestions on how to make the above instructions better, reply below
 
Back
Top