[us...@httpd] mod_rewrite + mod_headers :How to set Cache instructions for Rewritten .swf content only ?

2009-12-10 Thread ABAPGUY
Hi Apache Experts, I wish to set 2 Cache statements for .swf files (only) . I am rewriting using mod_rewrite and have enabled mod_headers . My 1st attempt did not work : RewriteCond %{REQUEST_URI} \.(swf)$ [NC] Header set Cache-Control "must-revalidate, proxy-revalidate" Header set Pragma "publi

[us...@httpd] mod_rewrite : Can a space in a URL be preserved ?

2009-10-06 Thread ABAPGUY
Hi Apache experts, I am using Apache 2.0.59 as a Reverse Proxy using mod_rewrite and mod_proxy . I have a downstream J2EE server that is creating URLs with a space in them . How can I use mod_rewrite (which sees %20) to write the space ..instead of %20 ?   Regards Daniel

[EMAIL PROTECTED] Apache 2.0.5x wrong Apache hostname in Via Header when used as Reverse Proxy

2007-03-12 Thread ABAPGUY
Hi all , using Apache 2.0.58 and 59 as a Reverse Proxy I am seeing the wrong hostname in the Via header that Apache sends to downstream servers . e.g. Apache has a load balanced alias = host1.xxx.com although the server hostname is actually = apache.xxx.yyy.com in the xxx.yyy.com domain All clien

[EMAIL PROTECTED] How does mod_expires handle proxied Cache-control content ?

2006-11-02 Thread ABAPGUY
Hi all , I have an Apache 2.0 Reverse Proxy . One of my downstream servers is an IIS server with Expires Header set to 12 hours for content . I have Apache configured with mod_expires as so (3600 seconds = 1 hour)   ExpiresActive On ExpiresByType image/gif A3600 ExpiresByType image/png A3600 Expi

[EMAIL PROTECTED] Apache 2.0.59 : mod_proxy error caused by rewrite ?

2006-10-08 Thread ABAPGUY
Hi all . is this just a re-write > mod_proxy error ? We have the following rules in our Apache Reverse Proxy : RewriteRule ^/sap/(.*) https://:8443/sap/$1 [P,NC,L] RewriteRule ^/scripts/(.*) https://:8443/scripts/$1 [P,NC,L] ProxyPass /scripts https://:8443/scripts ProxyPass /sap https://:8443/sap

[EMAIL PROTECTED] Apache 2.0.59 Reverse Proxy - Set Content Length ( for HTTPS POSTS) to prevent proxy erros

2006-10-03 Thread ABAPGUY
Hi all , running our Apache 2.0 Reverse Proxy over https we noticed that HTTP 1.1 connections to the backend server are causing Proxy errors for POSTs only (all GETs are fine) . We want to set Content-Length or Content-Chunking for POSTs as this is a known problem for web servers (especially with

[EMAIL PROTECTED] Mod_deflate : how does it handle already compressed content ?

2006-10-02 Thread ABAPGUY
Hi all, we use mod_deflate in our Apache 2 Reverse Proxy . The downstream server already compresses some content using gzip based on size/exclusion list (e.g. no gifs , html > xKB) . We have mod_deflate set up with similar settings  . I'm guessing mod_deflate will not touch the already compressed

[EMAIL PROTECTED] mod_rewrite : URL with special characters (= and ~) causing problems

2006-09-30 Thread ABAPGUY
Hi all , Reverse Proxying is working fine on our DMZ Apache (2.0.59) for various URLs / internal sites including those with a ! special character in them . However 1 internal site returns a long (50 character) string with ! = ~ special characters and always gives a proxy error . I've tried escaping

[EMAIL PROTECTED] Internet Explorer : Adding Apache Reverse Proxy toTrusted Sites improves SSL performance

2006-09-29 Thread ABAPGUY
Hi all, experimenting with speeding up https performance I added our Apache Reverse Proxy to the Trusted Sites in Internet Explorer ..and suddenly https performance increased . I expect this was due to the browser suddenly using Low Security settings and I guess could experiment with the Security S

[EMAIL PROTECTED] Perf tuning Apache 2 on Solaris 9

2006-09-22 Thread ABAPGUY
Hi all , we are (mainly) following this guide to speed up SSL on Apache 2 on Solaris 9 http://www.kom.com/apache_tune.html   and have managed to halve our SSL response time .   I'm sure it's a common question ..but does anyone have any tips and tricks for perf tuning : 1) SSL in particular 2) Apac

[EMAIL PROTECTED] Caching https pages in Apache ?

2006-09-22 Thread ABAPGUY
Hi all , is there any point using mod_cache , mod_file_cache on an Apache 2 server that only serves https pages ? In other words can https pages be cache in Apache ?   Regards Daniel