INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

ASP-Enabled Web Server

How to view ASP pages in a browser. by ejolmst
Posted: 10 Sep 02

Active Server Pages cannot be viewed in a web browser by typing in the file address in the browser as c:\inetpub\wwwroot\default.asp like you can with an HTML file as c:\inetpub\wwwroot\default.htm because an asp page MUST be processed and rendered by the WEB SERVER!
SO......In order to view or test your asp page, you must view the page in your browser as it is served or processed by the web server by typing into the browser address a URL which calls upon your web server such as your local web server host which was hopefully included in your installation of Windows 2000 Pro. (PWS is your personal web server)
To do this, you call your local web host as follows:
http://localhost/default.asp
This refers to a default.asp file which is residing on the web root which located at c:\inetpub\wwwroot\
Now, if your default web site has the default documents set to default.htm, followed by default.asp in that order, the server will first serve the default.htm file if it is found at that location, if it is not present, then it will next look to see if default.asp is located there. If it is, then that is the document that will be served by the server if you simply refer to the URL as http://localhost/
You can set the default documents and the order to serve them in your Internet Service Manager.

Back to Microsoft: ASP (Active Server Pages) FAQ Index
Back to Microsoft: ASP (Active Server Pages) Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close