Re: How do I create virtual directories?

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

 



RKVS Raman wrote:
Hello,

I have a webserver running apache with a public IP.

I have an internal server which runs certain services. Can I create a
virtual directory on public server which actually redirects the
request to the internal server which serves that request and sends it
to the external server which responds to the client.

Any pointers to any documentation in this regard will be highly appreciated.
---------------- End original message. ---------------------

What you want to do is called proxying. Apache can do this and be configured in a number of ways to achieve this sort of result. The actual details of how to do it can range from fairly simple to very complex.

I'd suggest starting with the mod_proxy documentation on the Apache web site:

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

And then take a look at Nick Kew's tutorial here (useful if you have to rewrite URLs in the proxied pages and a few other things):

http://www.apachetutor.org/admin/reverseproxies


Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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