Learning ASP Series - Installing Personal Web Server


Welcome to the first chapter of your Basic ASP Learning Series.I mostly ...
on a personal level, so it's better ... ...
in the ... My name is Amrit Hallan andI'm a web deve Welcome to the first chapter of your Basic ASP Learning Series.I mostly communicate on a personal level, so it's better weacquaint ourselves in the beginning.
My name is Amrit Hallan andI'm a web developer. I work through my web site -http://www.bytesworth.com.
I'm not a nerd (and don't want to be)and most of my knowledge has come to me piecemeal through lots ofhard work and interaction with my other developer friends. I don't think it'd be fair to say that I'm an authority on ASP but yes,I have a few satisfied clients in my portfolio and I know enoughto get you started.
By the time you are through with these dailychapters, you'll have learnt enough to make a small shopping cartin ASP.Most of the chapters will be organized in a linear fashion, sothat you always have to work according to your previouslyacquired knowledge. Sometimes I'll sound like writing the entirechapter in a bulleted form, but that'll be just to keep theunnecessary (I mean that is out of the scope of this reference)stuff out.I wish I could know your name too.
But I don't know how manypeople are going to read this. If you want to let me know thatYOU are the one at the moment reading this, you are welcome tosend me a friendly message at mailto:[email protected].
I loveto hear from people (ok, the word "people" excludes Spammers -they are not people).Enough of my warming up. Here we go with the first chapter.Installing Personal Web Server==> Beginning of Chapter One If you want to work with ASP (Active Server Pages) on yourpersonal computer, you need to install the Personal Web Server(PWS).
As the name indicates, it's a server. Unlike the normalHTML pages, dynamic pages (either created with CGI, PHP, ASP orCold Fusion) require some sort of a server to carry on theirbusiness.
Without a server, you can create a dynamic page, butyou cannot view it decently in the run-time mode.Since I mostly work with the Active Server Pages using PWS, I'lltell you how to install the PWS.It ships free with the Win98 CD, and should be in the add-onsfolder.>From there, install the PWS on your computer. The installationprogram creates a folder, inetpub in the directly you specifyduring the installation.
This inetpub, further has a folder,wwwroot. So if you install your PWS on your C drive, the wwwrootpath should beC:INETPUBWWWROOTAll the files that you create, you store under wwwroot.
What wegenerally do is, we create separate folders for separate projectsunder the wwwroot folder. So if I created bytesworth folder inwwwroot folder, the full path should beC:INETPUBWWWROOTBYTESWORTHAnd when I have to view the page on my browser, I'll have to typehttp://localhost/bytesworthas the URL.After you've installed the PWS, it's icon appears on yourdesktop, and at the bottom right of your screen.
Click ordouble-click on the icon. On the main window, you should see themessage:Web publishing is on.
Your Home page is available athttp://servernameThe servername is the name you use instead of localhost. But ifyou are confused about this name game, just use localhost and itshould always work if you haven't been naughty and messing aroundwith your computer's basic setup.Before you proceed further, open the Windows Explorer, go toc:inetpubwwwroot and create a new folder here by the name of"learnASP" (how boringly predictable! So you can name itsomething else).
We'll be storing ALL our files in this folder.Hence, whenever we want to run a newly created file, we'd type inthe location bar:http://localhost/learnASP/newfile.asp and press Enter.Ok, next, click on the Advanced tab. Select Enable DefaultDocumentIn the Default Document(s) box, type the list of file names youwould like to use as your default file once the name of your siteis type in the browser.If you have no idea what's the default file, it is the file thatanswers your call when you type a specific URL without a specificfile.
For instance, if I type http://www.bytesworth.com the filethat actually gets loaded by default is DEFAULT.ASP. This dependson the setting.
Some servers use INDEX.ASP or INDEX.HTML orINDEX.SHTML. It all depends on the file parsing set up on yourweb-hosting server.Then click on the Edit Properties button, after selecting theHome folder.
There are three select boxes, viz., "Read", "Execute", "Script". Select all of them.
The selections tell theserver that we want to execute server side scripts in our ASPpages. ASP pages won't run if the server can't read and executethem.Close the window, and your PWS is running.
Of course do not runtwo servers simultaneously. So if you installed the Apache WebServer and left it running, and then loaded PWS, there is goingto be some problem for you to sort out.
Source: Free Articles from ArticlesFactory.com .

Top blog stories

A review of Idmobile.com

Idmobile.com offers both pay-as-you-go and contract plans. Pay-as-you-go plans are ideal for customers who don't want to be tied down to a long-term contract, and they can purchase bundles of data, minutes, and texts as and when they need them.

see post

A review of Idmobile.com

Idmobile.com offers both pay-as-you-go and contract plans. Pay-as-you-go plans are ideal for customers who don't want to be tied down to a long-term contract, and they can purchase bundles of data, minutes, and texts as and when they need them.

see post

AO.co: Online Shopping Made Simple

AO.co is a trusted expert in TVs, washing machines, clothes dryers and other household appliances. AO.com is one of the largest retailers in the UK and it specializes in electronics, clothes and home furniture.

see post

For our people.

At Three, we believe phones are good. They just make life better. Easier. And more fun. But we all need to find a balance that works for us. Our mission is to help our customers use their phones to live their best lives.

see post

We make your life easier

We make your life easier Since 1992, we’ve been helping customers get the best deal on their dream phone. We firmly believe in giving you the highest quality, for the lowest price. That’s why we work with three of the UK’s leading networks to do all the haggling for you,...

see post

FOUR BRANDS BECOME ONE. CURRYS.

Currys PLC is a leading omnichannel retailer of technology products and services, operating through 800+ stores and 16 websites in seven countries.

see post

Halfords - Quicker, Easier, and Convenient.

At Halfords, we're all about the journey. With more than 700 stores with over 10,000 colleagues, we're the UK's leading retailer of automotive and cycling products. We are also the leading operator in MOT, tyres, car servicing and car repairs - pleasing more than 750,000 customers every year.

see post

FOUR BRANDS BECOME ONE. CURRYS.

Currys PLC is a leading omnichannel retailer of technology products and services, operating through 800+ stores and 16 websites in seven countries.

see post

Sky - Epic. Endless. Entertainment.

It's important to us that everyone gets great customer service and can enjoy our products, no matter their level of sight. So, if you're blind, partially sighted or struggle to see or read the screen, we’ve a range of features to help you get the most from our products and...

see post

Nasty Gal - We exist for the “girl in progress”.

Look iconic, without the hassle— using Nasty Gal discount codes, you can shop your favorite pieces for way less by simply entering one of our promotional codes (of your choice) at the checkout. From delivery offers, to promo deals, we keep ‘em coming, so you always have the offer you...

see post

Digital Publishing From Past to Now

The Covid-19 has caused the school and universities to shut down around the world creating a major issue in Learning and Education. As this virus spreads through the interaction and if social distanci... The Covid-19 has caused the school and universities to shut down around the world creating a major...

see post

Why it’s Important to Manage Your Holiday Calendars?

A printable calendar 2021 is a prominent online platform where you download printable calendars of your choice. These calendars can be customized as per our client requirement with photo, text, logo, or any other image. If you are thinking of planning a dream vacation tour with family and kids but...

see post

A review of Idmobile.com


Idmobile.com offers both pay-as-you-go and contract plans. Pay-as-you-go plans are ideal for customers who don't want to be tied down to a long-term contract, and they can purchase bundles of data, minutes, and texts as and when they need them.

A review of Idmobile.com


Idmobile.com offers both pay-as-you-go and contract plans. Pay-as-you-go plans are ideal for customers who don't want to be tied down to a long-term contract, and they can purchase bundles of data, minutes, and texts as and when they need them.

AO.co: Online Shopping Made Simple


AO.co is a trusted expert in TVs, washing machines, clothes dryers and other household appliances. AO.com is one of the largest retailers in the UK and it specializes in electronics, clothes and home furniture.

For our people.


At Three, we believe phones are good. They just make life better. Easier. And more fun. But we all need to find a balance that works for us. Our mission is to help our customers use their phones to live their best lives.

We make your life easier


We make your life easier Since 1992, we’ve been helping customers get the best deal on their dream phone. We firmly believe in giving you the highest quality, for the lowest price. That’s why we work with three of the UK’s leading networks to do all the haggling for you,...

FOUR BRANDS BECOME ONE. CURRYS.


Currys PLC is a leading omnichannel retailer of technology products and services, operating through 800+ stores and 16 websites in seven countries.

Halfords - Quicker, Easier, and Convenient.


At Halfords, we're all about the journey. With more than 700 stores with over 10,000 colleagues, we're the UK's leading retailer of automotive and cycling products. We are also the leading operator in MOT, tyres, car servicing and car repairs - pleasing more than 750,000 customers every year.

FOUR BRANDS BECOME ONE. CURRYS.


Currys PLC is a leading omnichannel retailer of technology products and services, operating through 800+ stores and 16 websites in seven countries.

Sky - Epic. Endless. Entertainment.


It's important to us that everyone gets great customer service and can enjoy our products, no matter their level of sight. So, if you're blind, partially sighted or struggle to see or read the screen, we’ve a range of features to help you get the most from our products and...

Nasty Gal - We exist for the “girl in progress”.


Look iconic, without the hassle— using Nasty Gal discount codes, you can shop your favorite pieces for way less by simply entering one of our promotional codes (of your choice) at the checkout. From delivery offers, to promo deals, we keep ‘em coming, so you always have the offer you...

Search topic

Nasty Gal - We exist for the “girl in progress”.

Look iconic, without the hassle— using Nasty Gal discount codes, you can shop your favorite pieces for way less by simply entering one of our promotional codes (of your choice) at the checkout. From delivery offers, to promo deals, we keep ‘em coming, so you always have the offer you...

Learn more