Re: Multiple SSL virtual host PHP translation not working on only one via SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We are just trying to load a "hello.php" file at the moment. 

We took the virtual host config from vhost2 that works with https and php and copied it into vhost1 config. We changed the DocumentRoot to the default, restarted Apache and got the same behavior(WSOD) when using ssl, but php translation works fine with plain http. 

Thanks

From: Daniel <dferradal@xxxxxxxxx>
Reply-To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
Date: Thursday, December 3, 2015 7:39 AM
To: "<users@xxxxxxxxxxxxxxxx>" <users@xxxxxxxxxxxxxxxx>
Subject: Re: Multiple SSL virtual host PHP translation not working on only one via SSL

wrong path somewhere or invoking an incorrect script.

WSOD:
White Screen Of Death, one of PHP's specialties. It is produced when an error has occurred in a PHP script and the error reporting goes either to the error log or to nowhere. To solve it, look for the error reporting settings in php.ini (or use ini_set()) of fpm pool.. Look or increase logging at the errors from the php-fpm.

2015-12-03 1:24 GMT+01:00 Rose, John B <jbrose@xxxxxxx>:
Apache 2.4

I have 2 virtual hosts .conf files. Each has a port 80 and port 443 section. The config files are identical in every way except for the DocumentRoot.
Both use ProxyPassMatch for PHP-FPM

In vhost1 I can go to http://…/ index.html and index.php successfully. If I use SSL I can go to http://  index.html successfully, but when accessing via SSL https:// index.php the screen is blank

In vhost2 I can go to http:// index.html and index.php successfully, and when I go to https:// index.html and index.php come up successfully

I did try changing so they did not have identical ports in ProxyPassMatch

Any ideas why PHP translation would work via regular http but not be executed in the first virtual host via SSL connection?

Thanks






--
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux