Re: [users@httpd] Subdomains just by creating a directory?

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

 



On 11/3/05, Boyle Owen <Owen.Boyle@xxxxxxx> wrote:
> > foo.myhost.mydomain --> /var/www/foo/
> > bar.myhost.mydomain --> /var/www/bar/
> > bar.myhost.mydomain/path/ --> /var/www/bar/path/
>
> I don't see the problem. This is exactly what apache does by default. The DocumentRoot directive maps the base URL of the site (bar.myhost.mydomain) onto a filesystem path (/var/www/bar) then any additional path information in the URL is simply appended to the DocumentRoot (bar.myhost.mydomain/path/ --> /var/www/bar/path/)
>
> What have you tried? What went wrong? (include error-log messages)...

See his first example. The subdomain is foo, not bar.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux