Apache Server configuration support - apache - reverse proxy

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2007 > apache - reverse proxy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apache - reverse proxy
dezso.bolyan@gmail.com

2007-01-30, 7:31 am

Hi everybody!

I have to set an Apache Webserver 2.0.49 (Linux) as reverse proxy
(example: http://my_web_server). I use the following setting:

listen.conf:
....
Listen 80
NameVirtualHost *:80
....

vhost1.conf:
<VirtualHost *:80>
#ServerAdmin
ServerName *

ProxyPreserveHost on

ProxyPass / http://my_appl_server:1234/
ProxyPassReverse / http://my_appl_server:1234/

ErrorLog /var/log/apache2/my_server-error_log
CustomLog /var/log/apache2/my_server-access_log combined
</VirtualHost>


It is working, but by problem is, that we use this webserver to save
and show pictures http://my_web_server/pict) too.

So I have to redirect every request to the application server: "http://
my_appl_server:1234/", except the requests for any pictures: "http://
my_web_server/pict". Have anybody any idea, how can I do it?


Thanx every help.

Charlie

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com