Re: Hosting two webapps within same virtualhost but with different DocumentRoots

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

 



On 08/09/2007, Ramdas.Hegde@xxxxxxxxxxx <Ramdas.Hegde@xxxxxxxxxxx> wrote:
> I have two applications that need to be hosted on my webserver. Requests
> for both apps come in via the same F5 and DNS name but with different URLs
> after the DNS name(e.g http://foo.bar.com/app1 and
> http://foo.bar.com/app2).
> The directory structure for both apps have the same names but with
> different sets of files under each.  That would mean i would need separate
> DocumentRoots for each of the apps. But given that i have the same DNS name
> in the URL for both apps, i am assuming i cannot distinguish these apps
> using separate VirtualHosts, right?  What would be an alternative way to
> achieve this?

Sounds like you need:

http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias

-- 
noodl

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