Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2004, 10:50 AM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to SteveC33603
Default

Using ../ in place of /thephile should work for you. VS has a great feature called find and replace. Just have it search the entire solution.

 
Old December 16th, 2004, 10:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

>when i move this to a host, it will be called www.thephile.com
>this means i have to go through the whole app and change the /thephile/ just >to /default.aspx or what ever the path is.

Right. This application wasn't designed for living in the root of a website, but that is how most people will deploy it if they use an inexpensive hosting company. Even if you have your own web server, it's not user-friendly to make people memorize the full URL that includes a directory. People just want to memorize the "dot com" URL.

>cant we use ./ or anything??

It seems like this would work, but it's going to be a problem for you because of the user controls and subfolders for some of the modules. This application really likes hard-coded fully-qualified pathnames! There are even some image pathnames stored in the database.

I hope this is addressed in the 2005 edition.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
Base URLs - FCKeditor retroviz BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 January 9th, 2008 02:23 AM
Automatic URLs bodenzord Forum and Wrox.com Feedback 2 January 4th, 2005 04:19 PM
urls muhammadtahir4000 HTML Code Clinic 1 December 9th, 2004 04:41 AM
Complex URLs wells XSLT 3 June 16th, 2004 04:17 AM
Automatic URLs Imar Forum and Wrox.com Feedback 13 June 19th, 2003 03:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.