![]() |
|
|||||||
| Chit Chat Public Talk about any thing you want! This forum is public. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Trailing / after folders
Good Morning Friendly (I Hope) Forum Users:
I had something come up this morning while working on a new site. My site has sub folders after the main folder. When I type in the main url, http://www.domainsbycjm.com get the www, however, when I type in the http://www.domainsbycjm.com/images I lose the www. Now, if I type in http://www.domainsbycjm.com/images/ I keep the WWW. Is this right? May not seem important, but I am only giving an example, it affects another client site and creates double login prompts. Thanks for any thoughts.. I have no problem running a link with the trailing / just never had to before. |
|
#2
|
|||||||||||
|
|||||||||||
|
Actually you should always put trailing slashes in your links, it actually causes IIS to do an extra trip to decide what file need to be loaded .. anyway thats by the by I'm pretty guilty of not always doing it myself. The way H-Sphere works you don't actually need the www on any domain either, the www is added as an alias becuase almost everyone still types www in their URL's
You don't have a redirect loaded on that directory by any chance do yo ? May have something do with the fact you have directory browsing enabled on that folder, try turning that off and see what happens. |
|
#3
|
||||
|
||||
|
Quote:
I agree with Brangwyn on the trailing slash! I fight my editorial folks constantly about that. However, on the www... I disagree slightly. It would appear that some corporate networks don't handle URLs without the www very well. I have one client who fills my help desk whenever this is left off. It has to do with their internal DNS and intranet settings. So, if a link is hard coded as http://domain.com --- the ol' DNS error appears. This same client uses novel GroupWise and Netscape 4.x as standard work station installations so I have a number of issues there however, it is my job as their vendor to work with them, not against them. The trick? When printing URLs, include the www BUT... internally (behind the scenes 'source') don't include the domain name at all. This way those who need the www will have it and those who don't need it won't. Back to the trailing slash... I instruct my editors to write links to default.aspages like this... "/folder/" When printing on the page, URLs are typed out... "http://www.domain.com" but the href is just "/" . Clear as mud?
__________________
David Francis Soky.net, llc http://www.SoKy.net Soky Happenings Magazine http://www.SokyHappenings.com
|
|
#4
|
||||
|
||||
|
Well, I understand what you guys are saying, I just find it weird that it drops the WWW. Until a month or two ago with another provider I had never seen that.
On my other host, it actually causes double login prompts, like it does not know where to authenticate to the first time. Really annoying if you ask me. Only this morning did I notice on Vortech because I installed a Database Manager for a website that needed a subfolder. In regards to my other host, they have a few different servers and this only happens only on one! Should I contact support???? |
|
#5
|
||||
|
||||
|
Quote:
How do you turn off directory browsing? |
|
#6
|
||||||||||||
|
||||||||||||
|
Quote:
log into your CP - go to domain info, edit, web service edit - and it's a radio button that you check (indexes/enabled), and click submit. Last edited by jmbeach : 09-27-2003 at 08:02 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Securing folders & databases | antic | H-Sphere Pre-Sales | 20 | 10-06-2003 11:51 AM |