Forum Moderators: open

Message Too Old, No Replies

Apache to IIS

Problems with websites recently moved from Apache to IIS

         

tcfd1166

12:30 am on Oct 26, 2003 (gmt 0)

10+ Year Member



My website was recently moved from a Linux server running Apache webserver to a Windows Server running IIS. Having problems running my forms generating an email. Perl scripting is used to generate and send the email via POST command. Webmaster is not familar with perl, asp, etc... Use DW MX to build site, what is best way to convert this perl script to be seen in IIS? Mail server in Linux server was QMail.

Also, having problems enabling shtml files on same IIS server. Page loads fine, but receive error when loading shtml files:

HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.1 Date: Sun, 26 Oct 2003 00:30:10 GMT Connection: close Content-Type: text/html
404 Object Not Found

Any clues?

tcfd1166

12:45 am on Oct 26, 2003 (gmt 0)

10+ Year Member



Here's the new server info...

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Mon, 27 Oct 2003 00:45:06 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Tue, 30 Sep 2003 03:30:46 GMT
ETag: "0b7213c387c31:67d7"
Content-Length: 1797

plumsauce

7:19 am on Oct 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




must be feeling a bit lonely,
maybe if you laid out a few more
details ...

tcfd1166

11:22 am on Oct 27, 2003 (gmt 0)

10+ Year Member



Converted the perl script to .asp, works, but doesn't send my mail, here's my code... Is it my mailserver that needs to be fixed?

var Mail = Server.CreateObject("CDONTS.NewMail");
Mail.To = "emailaddress@email.com";
Mail.From = "emailaddress@email.com";
Mail.Cc = EMail;
Mail.Value("Reply-To") = EMail;
Mail.Subject = "SUBJECT";
Mail.Body = msgBody;
Mail.Send();

Where EMail is input from form
and Body is dynamic from variable msgBody

mattglet

1:23 pm on Oct 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i think you have some syntax issues. check out Microsoft's CDONTS support site [support.microsoft.com] for some answers.

-Matt

tcfd1166

3:23 am on Oct 28, 2003 (gmt 0)

10+ Year Member



Site is fixed, thanks for the page from microsoft