fp with pearl and cgi

  • Thread starter Thread starter chris leeds
  • Start date Start date
C

chris leeds

I've messed around with asp and php applications with FrontPage with good
results.
I've never used any cgi apps. I'm wondering if there will be a problem
using FrontPage to edit and publish this app.

TIA
cl
 
One thing to be concerned with is that the CGI-Perl application is
specifically written for use on a Windows Server and that correct version of
the Perl engine and all Perl Libraries are installed on the server.

I would suggest that you stick with ASP or PHP.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
I have no problems developing or running Perl/CGI scripts on Windows
servers, (IIS5.1, IIS6) the same scripts run on UNIX/Apache.
However, some Perl commands do not work (will cause errors) on Windows, such
as file locking (flock). I also use a text editor for developing, never
tried using FP., except for blocks of HTML to be inserted into the scripts.
If publishing to a UNIX server, FP will corrupt the Perl scripts, since FP
treats .pl and .cgi extensions as binaries, so FTP uploading is essential -
FTP is required anyway to change the script file permissions on UNIX.

HTH
Ron
 
would if I could but the pre-made app is just right for what this guy wants.
he doesn't have much to spend so I can't go "off the menu" too far ;-)
 
I'm publishing to a windows server so there is no CHMOD in my scheme.
are you SURE that fp will corrupt the .pl and .cgi files?
I'd hate to ftp the stuff because I want the fp extensions on this web for
other non-pearl/cgi things.
 
Chris,
If you are publishing to a Windows server there is no problem with
corruption - it's only publishing to UNIX that does that. You should put
the perl scripts in their own subweb, if you can, then FTP would not affect
the remaining web, but publishing to a Windows server is not a problem.
The only problem(s) are the commands that do not work as expected - Perl
documentation does list these, and I have only ever used the one mentioned
below.

HTH
Ron
 
funny you should say that about the upload from the admin panel. I was
actually thinking of using an upload script to get the stuff up there w/o
smacking the extensions around. I may go with a subweb and ftp into it
directly so I'll only mess up the fp extensions on that subweb, which I
don't need them for anyway.
thanks for the help,
chris
 
I've messed around with asp and php applications with FrontPage with good
results.
I've never used any cgi apps. I'm wondering if there will be a problem
using FrontPage to edit and publish this app.

TIA
cl

Is it always a fact that using ftp on NT hosts with FP extensions,
messes up the FP site?

That seems to have been my experience but I didn't know if it was
universal.

JimL
 
Answers in-line



No, since cgi apps are edited in Notepad and uploaded in ASCII format.
You must have permission to run cgi scripts on the server, and
the server must be configured to run them.

Is it always a fact that using ftp on NT hosts with FP extensions,
messes up the FP site?

Yes. On any host actually.
 
Steve, I've used FTP many times in over 5 years on UNIX/Apache with cgi/perl
and php scripts and have never had to have the extensions re-installed--and
I know others who have also successfully done this too. The trick is not to
overwrite any files that FP uses, so it's not a true statement to say that
it 'always' messes up the extensions on any host. The statement is a
'truism' to keep novices from trying it and therefore cutting down on
support.
HTH

--
Theresa Bennett
http://webworksite.com
"The worksite for designers and developers."
Play "Where's Web Guy?" and get some free goodies!
===================================================

FrontPage 2000 Search the Knowledge Base
http://support.microsoft.com/default.aspx?scid=fh;EN-US;fp2000
FrontPage 2002 Search the Knowledge Base
http://support.microsoft.com/default.aspx?scid=fh;EN-US;fp2002
 
Steve, I've used FTP many times in over 5 years on UNIX/Apache with cgi/perl
and php scripts and have never had to have the extensions re-installed--and
I know others who have also successfully done this too. The trick is not to
overwrite any files that FP uses, so it's not a true statement to say that
it 'always' messes up the extensions on any host. The statement is a
'truism' to keep novices from trying it and therefore cutting down on
support.
HTH

Thanks for the info. I've just grown bolder in my use of cuteFTP and
dreamweaver on my Frontpage sites.

JimL
 
Back
Top