Tim Martens wrote:

> Thanks for all your answers. To clarify my question, I'm looking for
> advice regarding how best to set up users for a web app, e.g.,
> username.myapp.com vs myapp.com/username and the pros and cons of
each.

Using username.myapp.com means defining that name in your DNS and having
a separate virtual host definition in your apache config. 

Using myapp.com/username means having one virtual host, and no extra DNS
records. 

One is not necessarily better or worse than the other - to me it's
mostly about presentation and I would go for the myapp.com/username
option.  This (in my mind) puts "username" a level lower than "myapp",
whereas username.myapp.com does the opposite. 


-- 
Per Jessen, Zürich (17.7°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to