Mobile app version of vmapp.org
Login or Join
Rambettina238

: Why is there are tilde (~) sign in most university URLs My university provides a web URL and some hosting space and the URL is like http://homepages.iitb.ac.in/~pritampebam. Almost all universities

@Rambettina238

Posted in: #Url

My university provides a web URL and some hosting space and the URL is like homepages.iitb.ac.in/~pritampebam.
Almost all universities I've come across seem to use this structure where there is the '~' sign right in front of the username.

Other examples.
web.media.mit.edu/~mres/ users.design.ucla.edu/~reas/
Why is it so?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina238

2 Comments

Sorted by latest first Latest Oldest Best

 

@LarsenBagley505

In addition to what initall mentioned, having a standard for user directories would allow for URL pattern matching such as, "anything that starts with tilde, treat the remainder as a user's name, and see if they have a website". While I don't know if this is how any universities handle their serving of users' websites, it would be an option. If a user existed with the name "employment", but they wanted to setup university.edu/employment to load employment information, the tilde helps avoid conflicts.

(Obviously, if they're using a subdomain like users.university.edu/<username>, this isn't needed. Additionally, they could also use a more user-friendly URL like university.edu/users/<username>, but the tilde being preferred for reasons initall stated).

10% popularity Vote Up Vote Down


 

@Cooney921

stackoverflow.com/questions/6252471/what-is-the-use-of-tilde-in-url
A unix convention that represents a users homedirectory. Some providers allow users to get content from a certain directory in their home directory delivered by the webserver.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme