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

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

 



Olaf van der Spek wrote:
On 11/3/05, Boyle Owen <Owen.Boyle@xxxxxxx> wrote:

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

So what? foo.myhost.mydomain is a separate VirtualHost so it has a different DocumentRoot (/var/www/foo/). So  http://foo.myhost.mydomain/wibble/ --> /var/www/foo/wibble...

Am I missing something? Maybe a real example would make the problem clearer...

He'd like to create an additional virtual host by only mkdir
/var/www/<sub domain>

Yes, exactly. For example, I'd like to install a webpage just by copying its contents to /var/www/webpage and then access the page with http://webpage.mydomain.tld

Boyle, is this example real enough?

Regards,

Andreas


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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