IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 21st, 2004, 07:59 PM
digitalalias's Avatar
digitalalias digitalalias is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Georgia, USA
Posts: 164 digitalalias User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 52 m 33 sec
Reputation Power: 5
Send a message via ICQ to digitalalias Send a message via AIM to digitalalias Send a message via MSN to digitalalias Send a message via Yahoo to digitalalias
Localhost and that darn ROOT DIRECTORY

Hi,

I'm a web developer (using WinXP Pro) and I normally test my web sites locally on my IIS using a virtual directory (vd) for each project.

example: If I'm working a site called "FergyTech" I will create a vd called "fergytech". So my production url is http://localhost/fergytech/.

In my code (html,php,etc.) when ever I need to dynamically insert an object I use the '/' character to get to the root directory. This trick works fine on the final web server, but on my local server '/' takes me to http://localhost/ and ruins everything.

Is it possible to setup my local machine to use the '/' character for VDs instead of the localhost root directory? I hope my question makes sense...
__________________
Marc F.

"Let the blind lead the blind... it's more fun to watch."

Reply With Quote
  #2  
Old May 22nd, 2004, 01:08 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 59 sec
Reputation Power: 688
Not that I know.

If you can get W2000 server then you can set up multiple websites, which is a better development environment since it will duplicate the hosting company configuration much more closely.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Localhost and that darn ROOT DIRECTORY


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway