|
|
 |
BOOK: ASP.NET Website Programming Problem-Design-Solution  | This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

June 11th, 2004, 05:45 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Location: Alhambra, ca, USA.
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Http://localhost/xxx/xxx/xxx.aspx Question
This is a basic question but I can't find any literature on it:
When I use the browser to run somepage.aspx , localhost refers to the IIS (I think).
Do I have to put the file in inetpub/wwwroot folder for it be accessed as localhost?
Can I put the file on the C: drive then make the folder containing the somepage.aspx a virtual folder but still call the localhost?
The confusion is: When I make the folder into a virtual folder in the IIS I get that global icon. Does this make it reside in the localhost?
Do I have this all wrong?
What does localhost truely mean?
Thank you so much.
|

June 11th, 2004, 07:33 AM
|
|
Friend of Wrox
|
|
Join Date: May 2004
Location: India
Posts: 589
Thanks: 0
Thanked 22 Times in 22 Posts
|
|
When you use the browser to run somepage.aspx , localhost refers to the default directory which is mapped in your harddisk as localhost.
Do I have to put the file in inetpub/wwwroot folder for it be accessed as localhost?
** This is default, but you can modify this.
Can I put the file on the C: drive then make the folder containing
the somepage.aspx a virtual folder but still call the localhost?
** You can create folder at some other location and call it as localhost/your folder (For this you need to map virtually).
Check the following article :
http://www.developer.com/net/asp/art...0917_1588231_2
hope this helps...
Om Prakash
|

June 11th, 2004, 09:22 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
localhost is a TCP/IP alias name for your local PC. It maps to IP address 127.0.0.1.
The book makes the assumption that you want to run the web site on your own computer.
IIS has it's own directory structure that's visible from the web. The "virtual root" directory is the one that is accessed from the web as http://localhost/.
This does not refer to your root folder on drive C. Instead, IIS lets you specify the actual directory on your hard disk that will map to the virtual root.
By default, c:\inetpub\wwwroot will be the directory on your hard disk that maps to http://localhost/.
ThePhile is not set up to run from the virtual root directory. Instead, they want you to set up another virtual directory named "ThePhile" or "ThePhileVB" that will map to the appropriate directory on your hard disk.
This book isn't a good "first book" to study on ASP.NET. There are a lot of assumptions made along the way. You might want to pick up an intro book on ASP.NET before you try to tackle this one.
Eric
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |