Hello,

I have setup main server on Linux Machine and i want to host the files in windows server
I have setup Windows server with Windows Server 2008 R2, IIS 7, PHP 5.3, Enabled GD, Enabled Zend, Enabled MYSql Remote connection ip
I have edited the remote config.php file as below

Server ID(retrived from admin panel,digital id,not name string)# to identify the server$server_id='2';
$cgi_temp_dir = 'C:\Users\Administrator\Desktop\files\temp';
$php_temp_dir = 'C:\Users\Administrator\Desktop\files\temp';
$upload_dir = 'C:\Users\Administrator\Desktop\files\files';

when i am running test connection from Admin panel ( from Linux Server) , i am getting the below error

Warning!CGI script:http://xxxxx/files/cgi-bin/cgienv.cgi show internal server errors!
Response content:

502 - Web server received an invalid response while acting as a gateway or proxy server.

Server Error
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.


I changed the path of Perl Installation ( C:Perl) in all the 4 cgi files.

Can Someone help me