ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash


 Top ASP 101 Stories Top ASP 101 Stories
VBScript Classes: Part 1 of N
Migrating to ASP.NET
Getting Scripts to Run on a Schedule

QUICK TIP:
Changing the default scripting language at the server level
Show All Tips >>


Personal Web Server

  1. Intro

Personal Web Server 4.0 is a free ASP capable webserver for your Win95/98 or NT Workstation PC. It’s a reduced version of Microsoft’s fullblown webserver IIS 4.0 (Internet Information Server) that is used on machines running Win NT Server. PWS is available as a free download from Microsoft, as a part of the NT Option Pack. In this lesson you will learn to download & install PWS, and get your first ASP pages running. There are differences between PWS for NT Workstation and PWS for Win95/98. Microsoft describes PWS for NT Workstation like this: "Full-featured site development or personal publishing on a corporate intranet" and PWS for Win95/98 like " Personal publishing on a low-volume corporate intranet". One example is that you don’t have an FTP service in the Win95/98 version of PWS. In this article we will focus on the Win95/98 version.

  1. Download
  2. To run PWS you need IE 4.01 or later. Make sure you have downloaded and installed IE before you

    Start. IE 4.01 is free and can be downloaded from Microsoft (About 16MB).

    NT Option Pack can be downloaded from this site. The download is pretty big (31MB for a full install), so you should be sitting on a fast internet connection (or buy a good book to read :-) ). An alternative is to buy a magazine with a CD-ROM containing NT Option Pack (take a look in your local news store).

    The download wizard is pretty straight forward, and you shouldn’t have any problems downloading PWS. Make sure that you choose the download site that is closest to you to make sure you get a fast download. If the download seems slow (e.g. under 2-3K/sec. on a standard 33.6 modem), you should cancel the download and try a differnet download site. If this doesn’t help try downloading in of peak hours (e.g. early in the morning).

  3. Installation
  4. Go to the folder you specified in the download wizard, and run SETUP.EXE

    If you don’t have Winsock 2.0 it will be automatically installed. Next you will be asked

    which components you want to install, just choose Typical (Or try custom if you are a control freak like me :-) ). The rest should be a piece of cake. Reboot and the PWS installation are done!

  5. Your first ASP site

Now it’s time to get started. To check if things are OK, start up your browser. Type in this URL: http://yourmachinename (where yourmachinename is the name of your computer on the network. If it doesn’t work, or if you don’t know the network name of your computer use this address in stead: http://127.0.0.1/). You should now get the PWS 4.0 welcome page. But let’s make our own, and check that ASP is enabled. Open a texteditor like Notepad, and cut’n past the below code in to it:

<HTML>

<BODY>

<B>Welcome to my webpage hosted on PWS!</B><BR>

The time is now: <%=TIME%><BR>

</BODY>

</HTML>

Save the textfile in the INETPUB/WWWROOT/ directory on your machine and name it DEFAULT.ASP. Try accessing your website again (Type in the address again, and hit enter). The text: Welcome to my webpage hosted on PWS! should now show up. On the line under you should read "The time is now:" followed by the current time. If the time is showing up correctly you have a working ASP server running on your PC! (Run out and brag about it to all your colleagues/friends!).

No that wasn’t so hard no was it?

No you can try making your own ASP pages and place them in the INETPUB/WWWROOT/ directory. If you don’t specify a page name in the URL, then the page named default.asp will show up.

For more info on PWS 4.0 and troubleshooting tricks go to the START menu Programs/Microsoft Personal Web Server/Release Notes.

Good luck!

-Alexander Haneng

Email: webmaster@haneng.com

Website: haneng.com


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES