• 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

Horde error 502

indi

New Pleskian
Horde not working, system is Plesk 8.6.0 with Windows 2008 Server Web.

502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

Something similar to the link below but I have no clue of how to change it on 8.6. According to the IIS settings of the webmail(horde)-site Horde is already using the Handler pointing to %pleskdir%\additional\php\php.exe, which is php4.

http://forum.swsoft.com/pda/index.php/t-34613.html
 
Horde not working, system is Plesk 8.6.0 with Windows 2008 Server Web.



Something similar to the link below but I have no clue of how to change it on 8.6. According to the IIS settings of the webmail(horde)-site Horde is already using the Handler pointing to %pleskdir%\additional\php\php.exe, which is php4.

http://forum.swsoft.com/pda/index.php/t-34613.html

Hello indi,

1. Please browse Horde IMP locally as http://localhost:8425 - you will see more detailed message
2. Please be sure CGI Role Service is installed in IIS: Server Manager > Roles > Web Server > Role Services
 
This is what is says at http://localhost:8425

HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "PHP Warning: Unknown(): Unable to load dynamic library 'C:\Program Files\Parallels\Plesk\Additional\Php\extensions\php_fileinfo.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'C:\Program Files\Parallels\Plesk\Additional\Php\extensions\php_mysql.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'C:\Program Files\Parallels\Plesk\Additional\Php\extensions\php_mysqli.dll' - The specified module could not be found. in Unknown on line 0 <b>Security Alert!</b> The PHP CGI cannot be accessed directly. <p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.</p> <p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p> <p>For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit <a href="http://php.net/install.windows">the manual page</a>.</p> ".
 
Hello indi,

Please comment php_fileinfo.dll, php_mysql.dll and bphp_mysqli.dll modules in %plesk_vhosts%\webmail\horde\php.ini.
 
Hello indi,

Please comment php_fileinfo.dll, php_mysql.dll and bphp_mysqli.dll modules in %plesk_vhosts%\webmail\horde\php.ini.

Done! Now it only shows this:

HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "<b>Security Alert!</b> The PHP CGI cannot be accessed directly. <p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.</p> <p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p> <p>For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit <a href="http://php.net/install.windows">the manual page</a>.</p> ".
 
What if CGI is installed in Role services yet we get this error?
 
Back
Top