How to create virtual directory

How does one actually create a virtual directory that will redirect to a page?

For example, typing http://www.php.net/time will actually lead to the page in the manual about the time() function

Or certain blog hosts have http://www.bloghost.com/username and username would lead to the user's blog.

Thanks in advance!

 

 

 

 

Top