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

Remote server url:http://xxxx.net/xxx Exists!
But because this is remote server,it will redirect to the main server http://www.xxxxx.com
Check CGI-BIN Requirement Url:cgienv.cgi....

CGI script:http://files.xxxxx.net/files/cgi-bin/cgienv.cgi works fine!
CGI-BIN Requirement Detecting:
CGI-BIN Requirement Detecting
The LWP module is installed!
The CGI module(v3.63) is installed!
The Fcntl module is installed!
The File::Temp module is installed!

Powered by YabSoft 2005 YabSoft
Check CGI-BIN Upload Url:upload.cgi....

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

when i do localhost from the server, i am getting the below error

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 "".

Software error:

Can't locate ./header.cgi in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:\inetpub\wwwroot\files\cgi-bin\deltmp.cgi line 11.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

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

what is the relevant chmod 755 for windows ?

Can Someone help me