RE: Forward proxies and aliases

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

 



You can do that for example by

ProxyPass /ig !

ProxyPass / http://server:port/
ProxyPassReverse / http:// server:port/

This would cause Apache to look for /ig in the DocumentRoot.

~Jet
	

-----Original Message-----
From: Tavian Barnes [mailto:tavianator@xxxxxxxxx] 
Sent: Tuesday, July 08, 2008 2:23 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  Forward proxies and aliases

Is it possible to only proxy part of a site, and use local files for
the rest?  I want most requests to be passed through the proxy, but
some to be aliased to a local file.  I tried

Alias http://www.google.com/ig /home/httpd/html/ig

and similar things, and nothing worked.  Can this be done?

-- 
Tavian Barnes

---------------------------------------------------------------------
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
----------
Learn more about Chase Paymentech Solutions,LLC payment processing services at www.chasepaymentech.com.

THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above.  If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments.  If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer.


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