You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Rose, John B" <jb...@utk.edu> on 2015/12/03 01:24:30 UTC
[users@httpd] Multiple SSL virtual host PHP translation not working on only one via
SSL
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:/<https://.../index.php>/ 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
Re: [users@httpd] Multiple SSL virtual host PHP translation not
working on only one via SSL
Posted by "Rose, John B" <jb...@utk.edu>.
We reversed the order of the "Include" statements
Not clear on the details of why that impacts it in this case but will keep looking until we understand
From: John Rose <jb...@utk.edu>>
Reply-To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Date: Thursday, December 3, 2015 2:38 PM
To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Subject: Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL
It looks like the order in which we loaded a couple of config directories in httpd.conf was the culprit
Things seem to be working. Thanks for taking the time to read and help
From: georg chambert <ge...@telia.com>>
Reply-To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Date: Thursday, December 3, 2015 1:15 PM
To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Subject: Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL
----- Original Message -----
From:Daniel<ma...@gmail.com>
To: <us...@httpd.apache.org>>
Sent: Thursday, December 03, 2015 1:39 PM
Subject: Re: [users@httpd] 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 <jb...@utk.edu>>:
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:/<https://.../index.php>/ 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<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] Multiple SSL virtual host PHP translation not
working on only one via SSL
Posted by "Rose, John B" <jb...@utk.edu>.
It looks like the order in which we loaded a couple of config directories in httpd.conf was the culprit
Things seem to be working. Thanks for taking the time to read and help
From: georg chambert <ge...@telia.com>>
Reply-To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Date: Thursday, December 3, 2015 1:15 PM
To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Subject: Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL
----- Original Message -----
From:Daniel<ma...@gmail.com>
To: <us...@httpd.apache.org>>
Sent: Thursday, December 03, 2015 1:39 PM
Subject: Re: [users@httpd] 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 <jb...@utk.edu>>:
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:/<https://.../index.php>/ 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<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL
Posted by georg chambert <ge...@telia.com>.
----- Original Message -----
From: Daniel
To: <us...@httpd.apache.org>
Sent: Thursday, December 03, 2015 1:39 PM
Subject: Re: [users@httpd] 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 <jb...@utk.edu>:
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
linkedin es.linkedin.com/in/danielferradal
Re: [users@httpd] Multiple SSL virtual host PHP translation not
working on only one via SSL
Posted by "Rose, John B" <jb...@utk.edu>.
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 <df...@gmail.com>>
Reply-To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Date: Thursday, December 3, 2015 7:39 AM
To: "<us...@httpd.apache.org>>" <us...@httpd.apache.org>>
Subject: Re: [users@httpd] 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 <jb...@utk.edu>>:
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:/<https://.../index.php>/ 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<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] Multiple SSL virtual host PHP translation not
working on only one via SSL
Posted by Daniel <df...@gmail.com>.
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 <jb...@utk.edu>:
> 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:/ <https://…/index.php>/ 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
linkedin es.linkedin.com/in/danielferradal