The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
2answers
298 views

IIS sets http header Expires to -1, how do I override this with mod_expires

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1. ...
0
votes
2answers
100 views

Having trouble removing HTTP header “Cache-control”

I'm trying to get my assets cached using Cloudflare Cloudflare states here that "CloudFlare will not cache your site or static content if you have no-cache and private headers coming from your ...
2
votes
1answer
125 views

php file downloads instead of being processed with ajax on apache

I have a small website where some content is displayed within a HTML tag using AJAX. The content is simply taken from another page on the same web site. However, sometimes instead of loading the ...
2
votes
1answer
523 views

How to remove “Client-Peer” (etc) header in nginx with php-fastcgi

My setup: OS: Ubuntu 11.04 HTTP Server: nginx 1.2.1 compiled with the HttpHeadersMore module processing PHP via php-fastcgi (other irrelevant software - ruby, python, etc) My problem: I'm ...
1
vote
1answer
236 views

haproxy header rewrite to lower case

I have a custom app behind an haproxy server. Can haproxy rewrite the case of the header? For example changing http://www.company.com/ABC to http://www.company.com/abc If so, how?
1
vote
1answer
646 views

set expires header varnish, like apache directive

Does anyone know a way to add expires header to a response in Varnish, like Apache does? Using Apache directives you can set expire headers and set how much time from now they will expire i.e. 1 month ...
0
votes
1answer
160 views

Postfix delivery based on headers

I need to filter email delivery in Postfix based on a specific header. Lets have the following example: There's some PHP script that will dispatch emails to the local MTA (postfix). These emails ...
0
votes
1answer
369 views

DNS bind & mail server - received by unknown

I have a web server that talks to a mail server when sending an email. Now I'm hosting my own DNS, however, since then I see that one of the email headers says: Received: from webserver.domain.com ...
0
votes
1answer
138 views

re-direct SSL pages using header statement based on port

I found this in the header.php file of a e-commerce site. Is this better done in a .htaccess file. Also what would happen to any post parameters that get caught in the header statement. // flip ...
2
votes
0answers
477 views

What is the difference between content-language and accept-language headers in Outlook? How/when are these added?

Outlook 2010 | Windows 7 Can someone please elaborate on the difference between the content-language and accept-language email headers? When do these get added by Outlook 2010 and where can I ...
1
vote
0answers
292 views

Proper resolution of request url and referer

I was working on my node server and encountered the need to implement the use of request.headers.referer. When I did tests and read headers to determine how to write the parsing functions, I couldn't ...
0
votes
0answers
43 views

IIS cache headers for selective file types

I have an application that serves .js, .css and .gif, and bunch others (.xls, .htm,.pdf....etc) file types. My requirement is to allow browser caching of .js, .css and .gif files but not allow any ...
0
votes
0answers
96 views

Privoxy disable templates and error pages

Privoxy has html error pages called "templates". I want to disable this html error pages. So if there is 404 - headers should be passed to browser directly, so the browser will show it's own 404 ...