[us...@httpd] trouble using environment variables in rewriterules

2009-06-18 Thread Jeremy Jones
Hi, I'm trying to set an environment variable in httpd.conf and then have it available to the URL-portion of a RewriteRule in a .htaccess file. Please could someone assist: In httpd.conf I have this line setting the environment variable: SetEnv MODPERLPORT 81 and in .htaccess I

[us...@httpd] trouble using environment variables in rewriterules

2009-06-18 Thread Jeremy Jones
Hi, I'm trying to set an environment variable in httpd.conf and then have it available to the URL-portion of a RewriteRule in a .htaccess file. Please could someone assist: In httpd.conf I have this line setting the environment variable: SetEnv MODPERLPORT 81 and in .htaccess I

[EMAIL PROTECTED] OPTIONS * not being denied

2008-10-13 Thread Jeremy Jones
Hi, Some time ago I noticed a large number of OPTIONS requests coming into my web servers and clogging my connections, e.g. OPTIONS / HTTP/1.0. I don't have anything on my sites for which OPTIONS would be appropriate, so I put this into my default site's .htaccess file: Deny from all

RE: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Jeremy Jones
Hi, Something like this in httpd.conf works for me: Header append "Cache-Control" "public" Header append "Cache-Control" "private" so without the LocationMatch it could handle everything I think. Jeremy -Or

[EMAIL PROTECTED] Controlling the size of the cache used by mod_disk_cache in Apache 2.2.8

2008-04-16 Thread Jeremy Jones
Hi, Apache 2.2.8 on Linux. Is there a directive anywhere to allow me to control the size of the cache used by mod_disk_cache? >From httpd.conf # Apache 2 caching # CacheRoot /usr/local/apache-common/proxy-80 CacheEnable disk /images CacheIgno

[EMAIL PROTECTED] Change/Bug in DirectoryIndex with mod_rewrite proxying

2008-02-29 Thread Jeremy Jones
Hi, I have tried to verify this hasn't been addressed before on this list, my apologies if is has: I have upgraded from 1.3 to 2.2.8 and I have noticed a possible bug: When using mod_rewrite to proxy a possible directoryindex page, the subsequent directoryindex filenames are ignored. (Or the retu