Reply to: Innovative Truck Products
Re: [IMail Forum] imailsrv2.pl & IIS5 Problem on Tuesday 9:00:06 PM
In IIS you can make a virtual directory scripts mapped
to the original scripts and with the same permissions.
Running Perl scripts requires a CGI directory. If that
script worked some then you can place these into the same
scripts directory.
--
Roger Heath
[EMAIL PROTECTED]
www.rleeheath.com
----- Copy of Original Message(s): -----
I> Roger,
I> I'm not using the default website in IIS, in fact, it's stopped. Can I
I> configure a new SCRIPTS directory under the website I'm working with?
I> Do I need both utilities, or will either one do what I need?
I> Thanks,
I> Dennis Schroeder
I> Innovative Truck Products
I> www.innovative-truck-products.com
I> [EMAIL PROTECTED]
I> ----------------------------------------------------------------
I> ----- Original Message -----
I> From: "Roger Heath" <[EMAIL PROTECTED]>
I> To: "Innovative Truck Products" <[EMAIL PROTECTED]>
I> Sent: Tuesday, February 04, 2003 7:42 PM
I> Subject: Re[4]: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> Reply to: Innovative Truck Products
>> Re: [IMail Forum] imailsrv2.pl & IIS5 Problem on Tuesday 8:21:55 PM
>>
>> ASP is not required at all for these. These are standard EXE CGI...
>> I can assure you these run flawlessly. Been using them about five
>> years now. Just drop them in your IIS scripts directory and edit the
>> HTML as per the samples and you are done...
>>
>> --
>> Roger Heath
>> [EMAIL PROTECTED]
>> www.rleeheath.com
>>
>>
>> ----- Copy of Original Message(s): -----
>>
>> I> Roger,
>>
>> I> I appreciate the suggestion, and I may have to go that route. Problem
I> is
>> I> that I've disabled ASP on my webserver completely for security
I> purposes. I
>> I> will have to undo those changes to use the tools you are recommending.
>>
>> I> As for the PERL script, it only has a problem if you pass it variables.
I> If
>> I> you pass it nothing, it runs fine. Sure would be nice if Ipswitch
I> supported
>> I> this thing!!
>>
>> I> Thanks,
>> I> Dennis Schroeder
>> I> Innovative Truck Products
>> I> www.innovative-truck-products.com
>> I> [EMAIL PROTECTED]
>> I> ----------------------------------------------------------------
>>
>> I> ----- Original Message -----
>> I> From: "Roger Heath" <[EMAIL PROTECTED]>
>> I> To: "Innovative Truck Products" <[EMAIL PROTECTED]>
>> I> Sent: Tuesday, February 04, 2003 7:16 PM
>> I> Subject: Re[2]: [IMail Forum] imailsrv2.pl & IIS5 Problem
>>
>>
>> >> Reply to: Innovative Truck Products
>> >> Re: [IMail Forum] imailsrv2.pl & IIS5 Problem on Tuesday 8:04:31
I> PM
>> >>
>> >> I struggled just like you for almost a week. I understand your
>> >> frustration. We do a lot in Perl here and PHP... and one of the
>> >> original big helpers here, Dusty recommended these. I hate to be
>> >> repetitive but you will save tons of time and never have to debug the
>> >> Perl script if you just download these free utilities...
>> >>
>> >> QMailer is at http://software.dolist.net/qmailer.asp
>> >> LMailer is at http://software.dolist.net/lmailer.asp
>> >>
>> >> I spent days on the imailsrv2.pl and never got it to work properly.
>> >> These took about 5 minutes each... and run much much faster than any
>> >> Perl interpreted scripting.
>> >>
>> >> --
>> >> Roger Heath
>> >> [EMAIL PROTECTED]
>> >> www.rleeheath.com
>> >>
>> >>
>> >> ----- Copy of Original Message(s): -----
>> >>
>> >> I> 1. http://www.innovative-truck-products.com/cgi/test.pl runs just
I> fine,
>> I> so I
>> >> I> would assume that the .pl extension is registered ok.
>> >>
>> >> I> 2. Using the whole URL didn't make any difference.
>> >>
>> >> I> 3. I'm really beginning to suspect that the problem is in the
>> I> imailsrv.pl
>> >> I> file itself. Like I said, I can enter the path to it in the browser
>> I> and it
>> >> I> will run, returning an error because I didn't pass it any e-mail
>> I> addresses.
>> >> I> As far as I know, imailsrv.pl uses 2 files (cgi.pm and
I> imailcgi.exe).
>> I> I've
>> >> I> made sure that the permissions should be allowing the necessary
I> access.
>> >>
>> >> I> I'm still concerned that cgi.pm is not registered properly with
I> PERL,
>> I> but I
>> >> I> don't know how to check or fix it.
>> >>
>> >> I> Thanks,
>> >> I> Dennis Schroeder
>> >> I> Innovative Truck Products
>> >> I> www.innovative-truck-products.com
>> >> I> [EMAIL PROTECTED]
>> >> I> ----------------------------------------------------------------
>> >>
>> >> I> ----- Original Message -----
>> >> I> From: "Dan Shadix" <[EMAIL PROTECTED]>
>> >> I> To: <[EMAIL PROTECTED]>
>> >> I> Sent: Tuesday, February 04, 2003 6:42 PM
>> >> I> Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >>
>> >>
>> >> >> You could try putting in the whole url but it probably won't make
I> any
>> >> I> difference. IIS doesn't seem to be handling the form properly.
I> Maybe
>> I> it's
>> >> I> trying to find the whole posted string instead of calling the script
>> I> and
>> >> I> passing the parameters to it. Are you sure that the .pl extension
I> was
>> >> I> properly registered in IIS?
>> >> >>
>> >> >>
>> >> >> ---------- Original Message ----------------------------------
>> >> >> From: "Innovative Truck Products"
I> <[EMAIL PROTECTED]>
>> >> >> Reply-To: [EMAIL PROTECTED]
>> >> >> Date: Tue, 4 Feb 2003 17:06:14 -0700
>> >> >>
>> >> >> >Dan,
>> >> >> >
>> >> >> >Just tried that...no change!
>> >> >> >
>> >> >> >Thanks,
>> >> >> >Dennis Schroeder
>> >> >> >Innovative Truck Products
>> >> >> >www.innovative-truck-products.com
>> >> >> >[EMAIL PROTECTED]
>> >> >> >----------------------------------------------------------------
>> >> >> >
>> >> >> >----- Original Message -----
>> >> >> >From: "Dan Shadix" <[EMAIL PROTECTED]>
>> >> >> >To: <[EMAIL PROTECTED]>
>> >> >> >Sent: Tuesday, February 04, 2003 4:38 PM
>> >> >> >Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >> >
>> >> >> >
>> >> >> >> It looks like you have mailing-lists.htm in the top level of the
I> web
>> >> I> page
>> >> >> >and imailsrv.pl in the cgi directory under the top level. Your
I> form
>> >> I> action
>> >> >> >is "../cgi/imailsrv.pl" which tries going up a level to find the
I> cgi
>> >> >> >directory. Try changing it to just "cgi/imailsrc.pl" and it should
I> be
>> >> I> able
>> >> >> >to find it.
>> >> >> >>
>> >> >> >> Dan
>> >> >> >>
>> >> >> >> ---------- Original Message ----------------------------------
>> >> >> >> From: "Innovative Truck Products"
>> I> <[EMAIL PROTECTED]>
>> >> >> >> Reply-To: [EMAIL PROTECTED]
>> >> >> >> Date: Tue, 4 Feb 2003 16:00:04 -0700
>> >> >> >>
>> >> >> >> >Yes. It executes other PERL scripts in the same folder just
I> fine.
>> >> >> >> >
>> >> >> >> >Dennis Schroeder
>> >> >> >> >Innovative Truck Products
>> >> >> >> >[EMAIL PROTECTED]
>> >> >> >> >www.innovative-truck-products.com
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ----- Original Message -----
>> >> >> >> > From: Nathan Fouarge
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Sent: Tuesday, February 04, 2003 3:58 PM
>> >> >> >> > Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Have you checked the permissions on the 'website' in IIS to
I> make
>> >> I> sure
>> >> >> >that it can execute scripts?
>> >> >> >> > -----Original Message-----
>> >> >> >> > From: [EMAIL PROTECTED]
>> >> >> >[mailto:[EMAIL PROTECTED]]On Behalf Of Michael
>> >> I> Lauritzen
>> >> >> >> > Sent: Tuesday, February 04, 2003 4:29 PM
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Well, you can make sure that the path to the .pl is correct.
>> >> >> >Sometimes changing ../ ot just / or even ./ will work. Don't ask me
>> I> why
>> >> I> but
>> >> >> >it is just what I have found. The other is to make sure all of the
>> I> hidden
>> >> >> >fields are correct.
>> >> >> >> > -----Original Message-----
>> >> >> >> > From: [EMAIL PROTECTED]
>> >> >> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative
>> I> Truck
>> >> >> >Products
>> >> >> >> > Sent: Tuesday, February 04, 2003 3:33 PM
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Michael,
>> >> >> >> >
>> >> >> >> > The extension doesn't seem to matter. I changed the file
>> >> >> >"mailing-lists.htm" back to .html and it does the same thing. I'm
>> >> I> currently
>> >> >> >using the early version that doesn't do the e-mail verification,
I> just
>> I> to
>> >> >> >simplify things. It fails on SUBMIT to the .pl...and it looks to
I> me
>> I> like
>> >> I> it
>> >> >> >can't find the .pl file...but it's there???
>> >> >> >> >
>> >> >> >> > Dennis Schroeder
>> >> >> >> > Innovative Truck Products
>> >> >> >> > [EMAIL PROTECTED]
>> >> >> >> > www.innovative-truck-products.com
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ----- Original Message -----
>> >> >> >> > From: Michael Lauritzen
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Sent: Tuesday, February 04, 2003 1:18 PM
>> >> >> >> > Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > I think I know your problem. It is looking for .html
I> files
>> I> and
>> >> >> >you have .htm. Take a look at the file exts on your server after
I> you
>> >> >> >uploaded it.
>> >> >> >> >
>> >> >> >> > -----Original Message-----
>> >> >> >> > From: [EMAIL PROTECTED]
>> >> >> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative
>> I> Truck
>> >> >> >Products
>> >> >> >> > Sent: Tuesday, February 04, 2003 3:05 PM
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Yes, I used a script similar to that from Microsofts
>> >> I> website.
>> >> >> >Executed it from the same directory as follows:
>> >> >> >> >
>> >> >> >> > http://../cgi/test.pl?
>> >> >> >> >
>> >> >> >> > Don't click the link, the file isn't there anymore.
I> The
>> >> I> script
>> >> >> >ran fine though.
>> >> >> >> >
>> >> >> >> > Dennis Schroeder
>> >> >> >> > Innovative Truck Products
>> >> >> >> > [EMAIL PROTECTED]
>> >> >> >> > www.innovative-truck-products.com
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ----- Original Message -----
>> >> >> >> > From: Michael Lauritzen
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Sent: Tuesday, February 04, 2003 11:22 AM
>> >> >> >> > Subject: RE: [IMail Forum] imailsrv2.pl & IIS5
I> Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > do any .pl scripts run on the server for example
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > can you save this to a .pl file and execute it
>> >> >> >> >
>> >> >> >> > print "HTTP/1.0 200 OK\n";
>> >> >> >> > print "Content-Type: text/html\n\n";
>> >> >> >> > print "<HTML>\n";
>> >> >> >> > print "<HEAD>\n";
>> >> >> >> > print "<TITLE>Hello World</TITLE>\n";
>> >> >> >> > print "</HEAD>\n";
>> >> >> >> > print "<BODY>\n";print "<H4>Hello World</H4>\n";
>> >> >> >> > print "<P>\n";
>> >> >> >> > print "Your IP Address is $ENV{REMOTE_ADDR}.\n";
>> >> >> >> > print "<P>";
>> >> >> >> > print "<H5>Have a nice day</H5>\n";
>> >> >> >> > print "</BODY>\n";print "</HTML>\n";
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > -----Original Message-----
>> >> >> >> > From: [EMAIL PROTECTED]
>> >> >> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative
>> I> Truck
>> >> >> >Products
>> >> >> >> > Sent: Tuesday, February 04, 2003 1:05 PM
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Subject: Re: [IMail Forum] imailsrv2.pl & IIS5
>> I> Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > IMail web is on the standard 8383 and IIS is on
I> 80.
>> >> >> >> >
>> >> >> >> > Dennis Schroeder
>> >> >> >> > Innovative Truck Products
>> >> >> >> > [EMAIL PROTECTED]
>> >> >> >> > www.innovative-truck-products.com
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ----- Original Message -----
>> >> >> >> > From: Michael Lauritzen
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Sent: Tuesday, February 04, 2003 11:00 AM
>> >> >> >> > Subject: RE: [IMail Forum] imailsrv2.pl & IIS5
>> I> Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > What port are you running the web server and
I> what
>> I> port
>> >> >> >are you running Imail web messaging? The two can't run on the same
>> I> port.
>> >> >> >> > -----Original Message-----
>> >> >> >> > From: [EMAIL PROTECTED]
>> >> >> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative
>> I> Truck
>> >> >> >Products
>> >> >> >> > Sent: Tuesday, February 04, 2003 12:51 PM
>> >> >> >> > To: [EMAIL PROTECTED]
>> >> >> >> > Subject: [IMail Forum] imailsrv2.pl & IIS5
>> I> Problem
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > I have a Win2k Server running IIS 5.
>> >> >> >> >
>> >> >> >> > I've installed the latest ActivePERL and I can
>> I> see
>> >> >> >where it was configured in IIS.
>> >> >> >> >
>> >> >> >> > I have downloaded the imailsrv2.zip file and
I> put
>> I> the
>> >> >> >files in their correct locations.
>> >> >> >> >
>> >> >> >> > I have run the "imailcgi -install..."
>> I> successfully.
>> >> >> >> >
>> >> >> >> > I have edited the .html file.
>> >> >> >> >
>> >> >> >> > When I bring up the html file and click
I> submit,
>> I> the
>> >> >> >screen changes to a 404 Page Not Found error. The address line is
>> >> I> referring
>> >> >> >to:
>> >> >> >> >
>> >> >> >> >
>> >> >> >http://www.innovative-truck-products.com/cgi/imailsrv2.pl
>> >> >> >> >
>> >> >> >> > This is the correct path to the script. I
I> have
>> >> I> enabled
>> >> >> >"script source access".
>> >> >> >> >
>> >> >> >> > Why would this come up "not found"???
>> >> >> >> >
>> >> >> >> > Dennis
>> >> >> >> >
>> >> >> >>
>> >> >> >> To Unsubscribe:
I> http://www.ipswitch.com/support/mailing-lists.html
>> >> >> >> List Archive:
>> >> I> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> >> >> >> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
>> >> >> >List Archive:
>> >> I> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> >> >> >Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>> >> >> >
>> >> >>
>> >> >> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
>> >> >> List Archive:
>> I> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> >> >> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>> >> >>
>> >>
>> >>
>> >> I> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
>> >> I> List Archive:
>> I> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> >> I> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>> >> I> --
>> >> I> ActivatorMail(tm) ver.122102 Scanned for all viruses by
>> >> I> www.activatormail.com intelligent anti-virus anti-spam service
>> >>
>> >> --
>> >> ActivatorMail(tm) ver.122102 Scanned for all viruses by
>> >> www.activatormail.com intelligent anti-virus anti-spam service
>> >>
>> >>
>> >> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
>> >> List Archive:
I> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> >> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>> >>
>>
>>
>> I> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
>> I> List Archive:
I> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> I> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>> I> --
>> I> ActivatorMail(tm) ver.122102 Scanned for all viruses by
>> I> www.activatormail.com intelligent anti-virus anti-spam service
>>
>> --
>> ActivatorMail(tm) ver.122102 Scanned for all viruses by
>> www.activatormail.com intelligent anti-virus anti-spam service
>>
>>
>> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
>> List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>>
I> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
I> List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
I> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
I> --
I> ActivatorMail(tm) ver.122102 Scanned for all viruses by
I> www.activatormail.com intelligent anti-virus anti-spam service
--
ActivatorMail(tm) ver.122102 Scanned for all viruses by
www.activatormail.com intelligent anti-virus anti-spam service
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/