Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows NT/2000/2003 Server/2008 Server
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Windows NT/2000/2003 Server/2008 Server Find support for Windows NT/2000/2003 Server/2008 Server editions.

Reply
 
LinkBack Thread Tools
Old 10-02-2006, 05:23 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2006
Posts: 5
OS: XP


Windows 2003 server translates "_" to "%5F" in urls

The hosting company I'm with uses Windows 2003 servers, which translates "_" to "%5F" in urls.

Example:
http://www.suziemorettin.com/

Click on the 'Contact' link which should direct you to:
http://www.suziemorettin.com/09_Contact

You are sent to:
http://www.suziemorettin.com/09%5FContact/

Which works but looks ugly, and is plain wrong. Underscores are legitimate url characters, how do you enable Windows Server 2003 to stop messing with these characters? I've asked my hosting company and they haven't a clue. After a week of trying to get them to deal with it, they've asked me to figure it out!

"send us all the information on the "fix" we will gladly review it and implement it if we can."

BTW: Windows Server 2000 by default does not change underscore characters.

Thanks!

Peter
pmj7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-02-2006, 02:17 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2006
Location: St. Louis
Posts: 21
OS: Windows Server 2003 R2


If the browser is adding the mysterious characters then it thinks there is a space in the name. If you access the page without the last slash (/) then IE adds the annoying characters; this is known as URL Encoding. When I put the last slash on the end

http://www.suziemorettin.com/09_Contact/

it correctly displays in the browser window. Check the location of the virtual folders and make sure there are no spaces in there.
DaMCT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-02-2006, 02:34 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2006
Posts: 5
OS: XP


Thanks for checking.

The folders were FTP'd directly from the old server - a Windows Server 2000 machiine, where there are no problems. There are no spaces. It has nothing to do with the browser as this happens in Firefox and Explorer, it's a Windows Server 2003 issue.

Why URL encode a legit character? Alphanumerics, dashes and underscores are all legitimate url characters.

Peter
pmj7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-02-2006, 07:27 PM   #4 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


remove spaces web does not like spaces
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-02-2006, 08:50 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2006
Posts: 5
OS: XP


Please re-read my messages, the url, and the url legal character definition.

There are no spaces.

Peter
pmj7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-03-2006, 12:51 PM   #6 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


i get sent to http://www.suziemorettin.com/09_Contact

your link is underlined in message kind of hard to tell

Last edited by bilbus; 10-03-2006 at 01:18 PM.
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-03-2006, 01:26 PM   #7 (permalink)
Registered User
 
Join Date: Oct 2006
Posts: 5
OS: XP


Bilbus, could you be a little more specific:

"I went to url http://www.suziemorettin.com/ with Explorer 6 under Windows XP, clicked on the 'Contact' link and was directed to http://www.suziemorettin.com/09%5FContact/".

Peter
pmj7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-04-2006, 10:11 AM   #8 (permalink)
Registered User
 
Join Date: Oct 2006
Location: St. Louis
Posts: 21
OS: Windows Server 2003 R2


Hey I wonder if he's getting kick backs each time someone visits the website?
__________________
PhysX by AGEIA
DaMCT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-05-2006, 06:45 PM   #9 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


"I went to url http://www.suziemorettin.com/ with Explorer 7 under Windows XP, clicked on the 'Contact' link and was directed to http://www.suziemorettin.com/09_Contact/".
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-05-2006, 07:09 PM   #10 (permalink)
Registered User
 
Join Date: Oct 2006
Posts: 5
OS: XP


Hmmm... guess that's something they've changed in Explorer 7. Well, it looks like nobody knows how to fix this, so I guess I'll have to change the links on the site for the new server.
pmj7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-05-2006, 07:22 PM   #11 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


shows up as 09%5FContact on my 2003 with ie6
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-05-2006, 07:44 PM   #12 (permalink)
Registered User
 
Join Date: Oct 2006
Location: Canada
Posts: 52
OS: My modified Windows XP

My System

To me, I think Windows sets it like this in the order on how you are set up. Maybe it is for security resons on their servers that they do that. Maybe it's because they recieve _ as a %5F command text.
lhuser is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-08-2006, 11:51 AM   #13 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


underscores are not valid characters in dns namespaces, perhaps that holds true for virutal folders to?
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-09-2006, 02:09 AM   #14 (permalink)
Registered User
 
Join Date: Oct 2006
Location: St. Louis
Posts: 21
OS: Windows Server 2003 R2


Use dashes "-" instead if you have to.
__________________
PhysX by AGEIA
DaMCT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:22 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85