Re: Web application architecture (subdomain vs. sub directory)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Lind wrote:

> On 26 August 2010 08:08, Per Jessen <per@xxxxxxxxxxxx> wrote:
>> 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.
>>
> 
> While offtopic and nothing to do with PHP I think this should be
> corrected: you can set a *.yourdomain rule which matches all
> subdomains not explicitly set. So no, you do not need to define every
> single name as a DNS record.

Good point. Not sure I would personally want to use wildcards, but it's
perfectly valid. 



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


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux