dgzyk / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

4.1-x showing "PHP is not being parsed by your web server. Make sure that PHP is installed." when using mod_proxy #577

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(Since the setting is different from the previous (closed) issue, I opened a 
new one instead. -mue)

What steps will reproduce the problem?
1. Install phpVirtualBox on one (v)server, ensure that it works as expected
2. Setup a second (v)server with Apache2 2.4.2; use mod_proxy[_html] 
functionality to define a proxy (the basic idea is to make services installed 
on different virtual servers available under a public address using 
mod_authn_otp for two factor authentication--for simple tests, "AuthType form" 
is enough, see below). This setup works for, e.g., the (Perl-)based Foswiki, 
but not for phpVirtualBox.

What is the expected output? What do you see instead?
Expected output is the login screen (normal web interface), instead the above 
error message shows.

What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?
   - vserver01 (phpVirtualBox): Linux x86_64 (Mageia 2), PHP 5.4.5, VirtualBox 4.1.20 OSE, phpVirtualBox 4.1-7/4.1-8
   - vserver02 (proxy): Linux x86_64 (Debian Wheezy w/ Apache from Experimental)

Please provide any additional information below.
(cf. the attached Apache2 configuration 
/etc/apache2/sites-available/000-default.conf -- you can safely strip the 
authentication related definitions here which stem from the Apache2 
documentation.)

Original issue reported on code.google.com by Markus.U...@gmail.com on 3 Sep 2012 at 8:54

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

I'm sorry, but if it works outside if using mod_proxy, there is nothing for me 
to do. That would make this a mod_proxy or some other configuration issue.

Original comment by imooreya...@gmail.com on 4 Sep 2012 at 1:55

GoogleCodeExporter commented 8 years ago
You're right, it was a mod_proxy* configuration issue. :)

The solution was to _not_ turn on mod_proxy_html (i.e., make sure to include 
"ProxyHTMLEnable Off" in the "<Location /phpvirtualbox/>" block)...

Original comment by Markus.U...@gmail.com on 5 Sep 2012 at 7:36