Re: Using windows xp with perl and cgi
by scottj (Monk) on Jan 31, 2004 at 12:54 UTC
|
I'm thinking that you'll probably want to install Apache on your XP machine. Download Here.
Somebody correct me if I'm wrong here, but I believe you can download a binary mod_perl DLL for the Win32 Apache as well. | [reply] |
Re: Using windows xp with perl and cgi
by CountZero (Bishop) on Jan 31, 2004 at 13:17 UTC
|
Or go to Apachefriends and get yourself a runs-straight-out-of-the-box Apache/mod-perl/PHP/MySQL system for Windows.
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
| [reply] |
|
Mr. Countzero is really Mr. Countaplus.
This is the easy answer I have been looking for.
Anyone with a single digit IQ (like me) can get this up and running with very little pain.
Thanks so much, and thanks to all the other Monks who have taken the time to help me. I hope someday to be able to return the favor.
Erniep
| [reply] |
Re: Using windows xp with perl and cgi
by kutsu (Priest) on Jan 31, 2004 at 16:05 UTC
|
| [reply] |
Re: Using windows xp with perl and cgi
by Roger (Parson) on Jan 31, 2004 at 13:18 UTC
|
Before going on further, let's find out which web server you are running on your windows XP... IIS or Apache?
| [reply] |
|
For alot of things, I find the Xitami Web Server on Windows XP is great for testing Perl CGI scripts locally before running them on an Apache Server online.
http://xitami.com/
| [reply] |
|
While Xitami was/is a decent server, Apache on Win32 is a preferable choice here as it would increase portability with UNIX Apache versions.
Apache on Win32, as available today, can be installed as an NT/Windows20000/XP/2003 service -- it runs great.
I also find Apache configuration to be a lot more sensible than Xitami's INI file scheme with various "edit this" and "don't edit that" files. You will also find better documentation, support, and extensions for Apache. In all, unless you have a good reason for needing the built-in FTP support, I don't know why someone would pick Xitami anymore.
| [reply] |
Re: Using windows xp with perl and cgi
by rchiav (Deacon) on Jan 31, 2004 at 18:05 UTC
|
If you have IIS installed on your XP machine, you can just install activestate's active perl and it will automatically configure IIS to use perl for .pl files. But again, you haven't mentioned what web server you're using locally or even remotely. | [reply] |
|
IIS is typically prone to viruses and worms more so than any other web server. I would advise against it for home use -- use it only when behind a tightly controlled firewall and when software components specifically require IIS over other alternatives (such as Apache on win32, or better yet, on Linux/BSD).
| [reply] |
Re: Using windows xp with perl and cgi
by zebedee (Pilgrim) on Feb 02, 2004 at 08:35 UTC
|
1. If you are running Windows XP Home, then IIS is not shipped with it.
2. Assuming that you do have IIS or some other server, the download dialog can mean a problem with file (MIME?) types - Internet Explorer doesn't know what to do with the file of the specified type/extension, so offers to download it as a last resort. | [reply] |