Re: [users@httpd] virtual directory

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

 



On 10/1/05, Muhammad Rizwan <rizwan@xxxxxxxxxxxx> wrote:
> Hello
>
> I want to ask about Virtual directories in Apache, i.e. how i can create
> Virtual directories in Apache. How i can map and use them in my domain
> (i.e. lets say www.domain.com).

When you want to map a particular domain name to a particular
directory, that is called a "virtual host".  See the apache docs, and
in particular, the docs on "name-based virtual hosts".

If you want to map a particular web directory to a particular file
directory (eg. www.example.com/dir goes to c:/dir) then you want an
Alias.  Look that up in the apache docs.

All of this is summarized at
http://httpd.apache.org/docs/2.0/urlmapping.html

Joshua.

---------------------------------------------------------------------
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