[us...@httpd] mod_headers: Don't add a header if it is already present

2009-01-10 Thread Nicholas Sherlock
Hey everyone, I'm developing a PHP-based website which was not supplying the correct Cache-Control directives in its responses. Even though most of my pages are generated especially for the user who is requesting them, I was not setting the Cache-Control: private response header. As a quick

[us...@httpd] Re: mod_headers: Don't add a header if it is already present

2009-01-10 Thread Nicholas Sherlock
Nicholas Sherlock wrote: However, some new pages I am now developing are cache-aware, and supply their own Cache-Control headers which should not include the private modifier. Is it possible for mod_headers to not create this header if the response (from PHP) already includes a Cache-Control

[us...@httpd] Safe namespace for passing environment vars to suexec-ed CGI script

2009-01-10 Thread Matt McCutchen
I operate a Web site on a shared hosting service that runs CGIs under suexec. The site contains three segments (this number will increase in the future), each of which contains one or more git repositories and has a rewrite rule to map the URLs of those repositories to gitweb, a CGI script. I