Directory structures different on development machine vs. install machine.
- From: "UJ" <fred@xxxxxxxxxxx>
- Date: Fri, 22 Sep 2006 13:06:58 -0400
So I have a project called Fred that's a web site. On my machine, the url is
http://localhost/Fred/..... On the final resting place it's
www.fred.com/...
So how do I make the system so that it will work both in my development
environment and the delivered web site? For instance - I want to do a system
transfer somewhere - but I don't want to specify
"../../LoveItOrLeaveIt.aspx" because the directory structure could change.
And if I try and do "/LoveItOrLeaveIs.aspx" it works on the delivered site
but not the development site.
The only thing I can think of is to make a virtual directory that point to
the root and then have everything point to that.
Anybody have any suggestions?
TIA - Jeff.
.
- Prev by Date: Required Field Validator Does Not Block Postback
- Next by Date: Re: Best way to check for first Login
- Previous by thread: Required Field Validator Does Not Block Postback
- Next by thread: Community Starter Kit won't compile ASPNET.StarterKit.Communities.dll
- Index(es):