On 7/21/06, Spelbring, Jon <J.Spelbring@xxxxxxxxxxxxx> wrote:
I'm trying to set up Apache as a transparent proxy server in front of Sybase's EAServer. I have the following in my httpd.conf: <Location / > ProxyPass http://localhost:8080 ProxyPassReverse http://localhost:8080/ SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 Order allow,deny Allow from all </Location> Apache is listening to my resolvable hostname, and EAServer is listening on 8080 Here's the problem: It works, but not all the time. There are a specific set of files that can't be accessed. When they do fail, the request at the browser shows up as http://localhost:8080/somebrokenfile The files that don't load are varied: .gif, .js, .jsp Has anyone encountered anything like this?
As the ProxyPassReverse docs mention, this directive does not rewrite any links contained in your html. It only rewrites HTTP response headers. You should 1. Make sure Sybase is configured to use the appropriate external hostname and port in its documents. 2. Look at mod_proxy_html. Joshua. --------------------------------------------------------------------- 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