Continued from page 1
C:INETPUBWWWROOTBYTESWORTH
And when I have to view
page on my browser, I'll have to type
http://localhost/bytesworth
as
URL.
After you've installed
PWS, it's icon appears on your desktop, and at
bottom right of your screen. Click or double-click on
icon. On
main window, you should see
message:
Web publishing is on. Your Home page is available at http://servername
The servername is
name you use instead of localhost. But if you are confused about this name game, just use localhost and it should always work if you haven't been naughty and messing around with your computer's basic setup.
Before you proceed further, open
Windows Explorer, go to c:inetpubwwwroot and create a new folder here by
name of "learnASP" (how boringly predictable! So you can name it something else). We'll be storing ALL our files in this folder.
Hence, whenever we want to run a newly created file, we'd type in
location bar:
http://localhost/learnASP/newfile.asp and press Enter.
Ok, next, click on
Advanced tab. Select Enable Default Document
In
Default Document(s) box, type
list of file names you would like to use as your default file once
name of your site is type in
browser.
If you have no idea what's
default file, it is
file that answers your call when you type a specific URL without a specific file. For instance, if I type http://www.bytesworth.com
file that actually gets loaded by default is DEFAULT.ASP. This depends on
setting. Some servers use INDEX.ASP or INDEX.HTML or INDEX.SHTML. It all depends on
file parsing set up on your web-hosting server.
Then click on
Edit Properties button, after selecting
Home folder. There are three select boxes, viz., "Read", "Execute", "Script". Select all of them. The selections tell
server that we want to execute server side scripts in our ASP pages. ASP pages won't run if
server can't read and execute them.
Close
window, and your PWS is running. Of course do not run two servers simultaneously. So if you installed
Apache Web Server and left it running, and then loaded PWS, there is going to be some problem for you to sort out.

Amrit Hallan is a freelance web designer. For all web site development and web promotion needs, you can get in touch with him at http://www.bytesworth.com. For more such articles, visit http://www.bytesworth.com/articles and http://www.bytesworth.com/learn.