ReverseProxy for UserDir

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

 



Dear All,

My self Ninad. I am novice user of apache httpd and linux.

I  have an intranet web server (internal.com) with UserDir configured on it. I am able to access it with following urls without any issue from my LAN network.

http://internal.com/~a
http://internal.com/~x.y
http://internal.com/~p_q

Here "a", "x.y", and "p_q" are users on internal.com server.

Now there is another httpd server which is connected to the internet  (external.com) and I want to reverse proxy only for userDir hosted on  my intranet server (internal.com). I tried following configuration but it did not work.

ProxyPreserveHost On
ProxyPass /~ http://internal.com/~
ProxyPassReverse /~ http://internal.com/~

I am getting following errors in error_log if I use url like "http://external.com/~a" or "http://external.com/~x.y" from internet.

AH00128: File does not exist: /var/www/html/~a
AH00128: File does not exist: /var/www/html/~x.y

I kindly request you to guide me in this regard.

Thank you very much in advance.


Regards,
Ninad.

[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