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