How can I use Perl, PHP, CGI scripts in MS Personal Web Server 4 can any 1
help
Thanks
Cool
>Hi
>
>How can I use Perl, PHP, CGI scripts in MS Personal Web Server 4 can any 1
>help
Install the Apache plugin from http://www.apache.org (It runs as a
separate webserver).
Iso.
--
alt.www.webmaster FAQ: http://www.aww-faq.org
alt.html QuickStart: http://rock13.com/webhelp/usenet/newbie.txt
HTML FAQ: http://www.htmlhelp.com/faq/html/
Web Dev Wiki: http://www.allmyfaqs.com/
From the Imatix website:
Summary of Xitami Features
Server supports HTTP/1.0, FTP, CGI/1.1, SSI protocols, server-side image
maps, user-defined MIME types, multiple document roots, persistent
connections, on-the-fly server reconfiguration, customisable error
messages, multilingual HTML documents and multilingual CGI scripts, HTTP
GET, HEAD, PUT, DELETE, MOVE, and COPY methods, customisable HTTP
headers;
Security: basic authentication per directory, FTP access rights per user
and per directory, on-the-fly user and password management, Unix setuid,
restrict access by IP address, safe CGIs, SSL option (Xitami/Pro);
Logging: CLF, IIS, XML, and custom log file formats, programmed log file
cycling, asynchronous reverse DNS lookups;
Virtual hosts: multihoming HTTP and FTP hosts, HTTP/1.1 virtual hosts,
full independent configuration (log files, web spaces, access
rights,...) per virtual host;
Configuration: editable config files, or through a web-based
administration interface (WBA) that includes virtual host wizard, server
control (restart, terminate), active connection monitor, and full
configuration of server options, security, users, etc.;
Applications: direct support for CGI scripts in Perl, Awk, Rexx, Python,
WSX protocol for plug-in extensions, SSI protocol for dynamic web pages,
ISAPI under Windows, filter protocol for arbitrary web page filters,
LRWP protocol for persistent (fast CGI) applications in Perl, C, Python,
Java, Java Servlets;
Deployment: installs ready-to-run, portable to Windows, OS/2, Unix,
OpenVMS, fully portable web sites and web applications; Performance:
internal multithreading engine, fast even on slower systems, small
footprint, option to restrict HTTP and FTP connections, FTP quota
manager.
Bottom line -- it beats the socks off of MS PWS.
If you're using a Mac, I haven't found a reasonably decent [and free]
webserver that will handle cgi, etc...
Hope this helps,
Fox
************
for example if your web host is NT with IIS the either design your site on
IIS (winNT or 2K) or PWS.
if they dont have other plugins \ components etc installed, then dont use
them yourself unless you intend for you host to also install them, or use a
host that supports what you are developing with.
--
Rick
Kitty5 WebDesign - http://Kitty5.com
Hi-Impact database driven web site design & e-commerce
TEL : +44 (01625) 266358 - FAX : +44 (01625) 611913 - ICQ : 15776037
POV-Ray News & Resources - http://Povray.co.uk
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Yes, but it was such a large, amorphous question how could anyone
really answer it? The only real answer is to start reading the f'ing
manual...
http://support.microsoft.com/support/kb/articles/Q161/4/18.asp
Personally, I wouldn't waste my time with PWS. If you run Windows 2000
you can use IIS for free (in NT it requires Server).
--wmc.
The gist of the previous posts was basically: don't use PWS. It's
nothing except free. As for free servers, so are Xitami and Apache.
However, Apache is a DOS app in Windows and a real pain to install and
administer and deal with in general. Xitami is not any of these -- there
are versions for Windows 9x [which works in 2000 I believe], Unix, and
Linnux. Xitami is a "real" webserver, not just a "personal" webserver...
So, if they're all free -- why not get a real server?
Fox
***************
Mark and Christine McCain wrote:
>
Installing on pws/iis docs for php
http://www.php.net/manual/en/install.iis.php
perl: get active perl and read the docs
--
Avoid the Noid
Joe Alexander
Programmer @ Large
You can use perl with PWS and set up a cgi bin. Here is how.
1-Download and install active state perl on your machine
2-You need to alter a registry setting so PWS will execute perl as opposed
to view it as source;
This thanks to the Microsoft website;
FP2000: How to Use Perl with Microsoft Personal Web Server on Windows 95/98
----------------------------------------------------------------------------
----
The information in this article applies to:
Microsoft FrontPage 2000
----------------------------------------------------------------------------
----
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key"
Help topic in Regedt32.exe.
SUMMARY
The following article describes how to set up the Microsoft Personal Web
Server to use the Windows version of Perl. This allows you to run Perl
scripts on the Microsoft Personal Web Server.
This article also includes a sample Perl script that can be used to test the
Perl engine on your computer.
MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT or Windows 2000, you should also update your
Emergency Repair Disk (ERD).
How to Configure the Microsoft Personal Web Server to Use Perl
For security reasons, you do not want Perl.exe to exist in any directory
that can be browsed from other computers. With a script mapping in the
registry, you can place the Perl.exe outside of the normal directory
structure and avoid such security risks.
On the Start menu, click Run.
In the Open box, type Regedit and click OK.
Open the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
\Parameters\ScriptMap
On the Edit menu, point to New, and click String Value.
Name the value .pl and press ENTER.
Select .pl, and click Modify on the Edit menu.
In the Value Data box, type <the full path to perl.exe>\perl.exe %s %s
NOTE: The "%s %s" is case sensitive (for example, "%S %S" will not work).
Close the Registry Editor, and restart your computer.
NOTE: Some versions of PERL automatically add this registry key when you
install.
How to Create a Perl Script to Use for Testing
Create a file with Notepad, and type the following lines of code. Save the
file as testing.pl in a folder in your web. Make sure this folder is marked
executable.
In Notepad, type the following:
print "HTTP/1.0 200 OK\n";
print "Content-Type: text/html\n\n";
print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE>Perl Test Page</TITLE>\n";
print "</HEAD>\n";
print "<BODY>\n";
print "<H3>This is a test to see if Perl is Working</H3>\n";
print "<P>\n";
print "<H5>If you can see this, Perl is properly configured</H5>\n";
print "</BODY>\n";
print "</HTML>\n";
How to Test the Script
To test the script, browse to the Perl script in Internet Explorer. For
example, if you placed the testing.pl file in a folder named cgi-bin in your
root web, you would type the following in the Internet Explorer address bar:
http://localhost/cgi-bin/testing.pl
The third-party products discussed in this article are manufactured by
vendors independent of Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability.
Additional query words: PWS
Keywords : kbdta
Issue type : kbinfo
Technology :
I am going to install it tonight and see what happens. I will let you know.
"Der Dot" <sup...@dot-common-sense.co.uk> wrote in message
news:tgs08r3...@corp.supernews.co.uk...
Which most people at home dabbling and learning do............ not ......
Assuming the person has Win2k and/or wishes to cough up the cash for it.
PWS is a very good product for use as a local development environment. You
cna run ASP, PHP, Perl, Python TCL etc. you can use COM objects, the
scripting engine updates itself when you update IE, you can connect to any
database in the world, integrate with most windows based application and a
kazillion other things..
Furthermore, PWS is IIS4, at least the webserver part of it.
Thank you for all your help
Thanks
Cool
"Cool" <co...@pullen81.freeserve.co.uk> wrote in message
news:9ejjnp$qf4$1...@news8.svr.pol.co.uk...
No major disagreement - if you have no interest in learning new
technology to help you professionally (say, you just need to set up a
local webserver to work on your own scripts). However, since no one
has the time to learn anything but a fraction of the technology out
there, part of the decision in what to learn (and what to use) is
influenced by what you need to know professionally. If you want to
develelop in the MS world you're not playing to its strengths if you
don't learn IIS, Visual Studio, ASP, ADO etc. Viewed from that angle,
learning PWS, is a false economy...
--williamc
I disagree at least partly. I may not be a power-user, but I found using
PWS or IIS very similar, especially with Visual Studio 6. I use to
program JavaScript on ASP on IIS (Win2000) at work, and use the exact
same configuration on PWS (Win98) at home. I don't really see a
difference between both, except of course that IIS is more powerful when
you want to set authorizations (but it's a Win2000 feature, not
something special of IIS).
I find very comfortable to be able to use same ASP programs and same
development environment at home and at work.
Laurent
--
GalaSoft Laurent Bugnion
Webdesign, Java, JavaScript: http://www.galasoft-LB.ch
Darjeeling teas: http://www.galasoft-LB.ch/indiantea
Support children in Calcutta: http://www.calcutta-espoir.ch
Well, I hope I never came across as dogmatic, but I felt that it was
worth offering a different philosophy to the posters I responded to...
Those guys obviously felt that that opinion was of no use to them, but
that's OK. I still hold that running *exactly the same stuff at home
that you run on a production system is the way to go. I've never used
'95 or '98 on my home systems. In fact I haven't even run NT
workstation for a couple of years. But whatever works for you...
Still, I ask, do you want to go into a technical interview and talk
about PWS? :)
--williamc
I'll probably mention IIS and PWS. Knowing both cannot harm, can it? *S*
I didn't take your post as dogmatic. I just mention that Win98 is more
frequent than Win2000 at home, and that it shouldn't make people feel
bad about it. To learn ASP, ADO and other server-side things, it can be
useful.
Well, I never would have answered the post at all if I had noticed
that the original clueless poster had cross-posted it... In a group
devoted to PWS, of course no one is going to want to hear - use IIS
instead of PWS. :)
Also, I'm not up on the latest MS stuff, since I now work with a bunch
of Perl Hackers who are strongly anti-MS. However, my wife who's a MS
DB programmer says that the first question that's often asked on the
Wrox forums diagnosing ASP/ADO etc. problems is, "are you using PWS?"
Anyway, take it easy...
-wmc.
Guess what?
It's is invaluable for learning/developing apache/perl/php as well????
I did it my way,
As I needed PWS solely to do Perl development at home, I use PWS2.0.
Regards,
Brian
"Cool" <co...@pullen81.freeserve.co.uk> wrote in message
news:9ejjnp$qf4$1...@news8.svr.pol.co.uk...
Not to mention that it is the scripting engine, MDAC and the other objects
which can be upgraded that separates PWS4 and 5. So if you have the latest
VBS scripting engine and the latest MDAC componants and all the other
goodies installed which are free updates, the pws will be just as capable as
the pws4 in a single user develpment environment. the server itself doesnt
care what system it is on, it only want to serve pages, it is all the
support compnants which matter.
One thing to be careful about, it is easier to have an incompatible
scripting engine on a home machine which is regularly updated compared to an
IIS4 server. I ran into this problem using the regx object. A wonderful 4
line email validation routine using the regex object. worked wonderfully on
the local machine, but broke completely on the production server., it even
worked like a charm on the devlopment server. same thing happened with
using the regex object to create an asp equivilant of urldecode() as ASP
will only let you urlencode() but not decode.
try confining your posts to Perl. What does MS Pesonal Web Server 4
have to do with alt.perl?
jimbo
;-)
go to http://www.studiodeluxe.net/pws/ for instructions on using Perl, Php
and miva with PWS.
Rythmist
"Cool" <co...@pullen81.freeserve.co.uk> wrote in message
news:9ejjnp$qf4$1...@news8.svr.pol.co.uk...
Go To http://www.studiodeluxe.net/pws/
Rythmist
"Fox" <mah...@eatel.net> wrote in message
news:3B0DB32D...@eatel.net...
Follow the same instructions listed on the site for mapping Perl.
Rythmist
"Russ" <russ.sue...@att.net> wrote in message
news:#PZ68VE9AHA.1164@tkmsftngp07...