Reply to: Innovative Truck Products
Re: [IMail Forum] imailsrv2.pl & IIS5 Problem on Tuesday 8:04:31 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 fine, 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 imailsrv.pl
I> file itself. Like I said, I can enter the path to it in the browser and it
I> will run, returning an error because I didn't pass it any e-mail addresses.
I> As far as I know, imailsrv.pl uses 2 files (cgi.pm and imailcgi.exe). I've
I> made sure that the permissions should be allowing the necessary access.
I> I'm still concerned that cgi.pm is not registered properly with PERL, 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 any
I> difference. IIS doesn't seem to be handling the form properly. Maybe it's
I> trying to find the whole posted string instead of calling the script and
I> passing the parameters to it. Are you sure that the .pl extension was
I> properly registered in IIS?
>>
>>
>> ---------- Original Message ----------------------------------
>> From: "Innovative Truck Products" <[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 web
I> page
>> >and imailsrv.pl in the cgi directory under the top level. Your form
I> action
>> >is "../cgi/imailsrv.pl" which tries going up a level to find the cgi
>> >directory. Try changing it to just "cgi/imailsrc.pl" and it should be
I> able
>> >to find it.
>> >>
>> >> Dan
>> >>
>> >> ---------- Original Message ----------------------------------
>> >> From: "Innovative Truck Products" <[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 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 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 why
I> but
>> >it is just what I have found. The other is to make sure all of the hidden
>> >fields are correct.
>> >> > -----Original Message-----
>> >> > From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative 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, just to
>> >simplify things. It fails on SUBMIT to the .pl...and it looks to me 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 files and
>> >you have .htm. Take a look at the file exts on your server after you
>> >uploaded it.
>> >> >
>> >> > -----Original Message-----
>> >> > From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative 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. 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 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 Truck
>> >Products
>> >> > Sent: Tuesday, February 04, 2003 1:05 PM
>> >> > To: [EMAIL PROTECTED]
>> >> > Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >
>> >> >
>> >> > IMail web is on the standard 8383 and IIS is on 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 Problem
>> >> >
>> >> >
>> >> > What port are you running the web server and what port
>> >are you running Imail web messaging? The two can't run on the same port.
>> >> > -----Original Message-----
>> >> > From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative Truck
>> >Products
>> >> > Sent: Tuesday, February 04, 2003 12:51 PM
>> >> > To: [EMAIL PROTECTED]
>> >> > Subject: [IMail Forum] imailsrv2.pl & IIS5 Problem
>> >> >
>> >> >
>> >> > I have a Win2k Server running IIS 5.
>> >> >
>> >> > I've installed the latest ActivePERL and I can see
>> >where it was configured in IIS.
>> >> >
>> >> > I have downloaded the imailsrv2.zip file and put the
>> >files in their correct locations.
>> >> >
>> >> > I have run the "imailcgi -install..." successfully.
>> >> >
>> >> > I have edited the .html file.
>> >> >
>> >> > When I bring up the html file and click submit, 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 have
I> enabled
>> >"script source access".
>> >> >
>> >> > Why would this come up "not found"???
>> >> >
>> >> > Dennis
>> >> >
>> >>
>> >> 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/
>> >
>>
>> 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/