http://locahost/~johndoe/ VS. http://localhost/%7Ejohndoe/

This is a discussion on http://locahost/~johndoe/ VS. http://localhost/%7Ejohndoe/ within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello, I would like to know precisely why when I access my apache web server with mozilla the URL in ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-04-2003
Neil Zanella
 
Posts: n/a
Default http://locahost/~johndoe/ VS. http://localhost/%7Ejohndoe/


Hello,

I would like to know precisely why when I access my apache web server with
mozilla the URL in the toolbar is changing from

http://locahost/~johndoe/

to

http://localhost/%7Ejohndoe/

What is the exact reason for this conversion?
It seems rather unnecessary to me.

Thanks,

Neil

  #2 (permalink)  
Old 07-04-2003
Klaus Johannes Rusch
 
Posts: n/a
Default Re: http://locahost/~johndoe/ VS. http://localhost/%7Ejohndoe/

Neil Zanella wrote:

> I would like to know precisely why when I access my apache web server with
> mozilla the URL in the toolbar is changing from
>
> http://locahost/~johndoe/
>
> to
>
> http://localhost/%7Ejohndoe/
>
> What is the exact reason for this conversion?
> It seems rather unnecessary to me.


The two URLs are equivalent, %7E is the URL-encoding for the character '~'.
The %7E format can be reliably transmitted by email, whereas the tilde
character may be subject to conversion and may not render correctly on some
systems.

--
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/



 


Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:44 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0