Re: [users@httpd] running a virtual server under a different user

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

 



Thank you for the quick help Joshua :)

On 9/27/06, Joshua Slive <joshua@xxxxxxxx> wrote:
On 9/27/06, Chris Cheshire <cheshirator@xxxxxxxxx> wrote:
> I read the docs on the proxy directive and I am a little confused.
>
> Is it actually possible to have
> myhost.mydomain.com:80 (nobody/nogroup) running on one instance
>
> and then somehow have
> myhost.mydomain.com:80/svn (svn/svngroup) running on another instance?
>

No.  But you can make it look that way from the outside.  For example,
if you have the other instance running at svn.mydomain.com:3690, then
include the following in the myhost config:

ProxyPass /svn http://svn.mydomain.com:3690/svn
ProxyPassReverse /svn http://svn.mydomain.com:3690/svn

Then any access to http://myhost.domain.com/svn will transparently get
served from the 3690 server.

(I do recommend keeping the directory-structure parallel; ie, make
sure the directory /svn/ on the front-end is goes to /svn/ on the
backend.  This avoids problems with broken relative links.)

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