The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
3answers
3k views

IIS cache control header settings

I'm currently working on a website that is accessed over https. We have recently come across a problem where we are unable to view .pdf files or any other type of file that is sent as an attachment ...
1
vote
2answers
660 views

NGINX Pass-through server header

How do I get NGINX to pass through the 'server' header of upstream servers? Like, if NGINX is proxying to an Apache server with the Server header 'Apache2.2 (CentOS)', it strips it out and replaces ...
1
vote
2answers
162 views

would this header cause the email to be flagged as suspect?

Authentication-Results: [snip].mail.[snip].[snip].com from=someDomain.com; domainkeys=neutral (no sig); from=someDomain.com; dkim=neutral (no sig) Received: from 127.0.0.1 (EHLO ...
6
votes
4answers
7k views

RequestHeader with Apache environment variable

I have Apache set up as a load balancer. I wanted to make apache set the X-Forwarded-Proto header, but this doesn't work: RequestHeader set X-Forwarded-Proto "%{SERVER_PROTOCOL}e" The header gets ...
0
votes
3answers
169 views

UDP pseudoheader

Is it true that in the UDP header 2 bytes store a checksum for verification purposes by the destination host, and that this checksum is generated from a pseudoheader? If this is true, then why does a ...
0
votes
3answers
895 views

Website with optimal cache control

My goal I would like to let browsers cache my whole website, but only download the new information when I have changed one or more files. My situation After some research I have found a way to do ...
0
votes
1answer
569 views

Postfix rewrite header issue

I currently relay all my cPanel (exim) outbound emails through my Postfix server. However, postfix seems to remove some important part in the header that exim added before sending to relay. As ...
2
votes
5answers
4k views

Rewriting from headers in Postfix

I want to configure Postfix to replace the 'From' header in all forwarded/aliased messages with a custom email address, and the 'Reply-To' header with the original sender's address. Is that something ...
0
votes
2answers
2k views

Block websites based on header words by squid proxy

Is it possible to block website accessing based on HTML's "header words" by squid proxy on RHEL 5 ? If possible please tell as detail.
10
votes
3answers
16k views

How can I make nginx support @font-face formats and allow access-control-allow-origin?

I've added these rules to mime.types: application/x-font-ttf ttf; font/opentype otf; application/vnd.ms-fontobject eot; font/x-woff ...
0
votes
1answer
375 views

Lotus Notes 8.5 - How do I alter the FROM value in the headers of my outbound emails?

I'm running a Lotus Notes 8.5 client (through a domino server). I have a really ugly FROM value in the header of my outbound emails: firstname.lastname@company.com I want a nice neat "Firstname ...
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 ...
3
votes
2answers
4k views

Apache redirect and set cache headers?

Doing a redirect in Apache is easy (mod_alias): RedirectMatch ^.*$ http://portal.example.com/ Setting cache headers is equally easy: Header set Cache-Control max-age=0 Header set Expires "Thu, 01 ...
-1
votes
2answers
428 views

How do I view headers, and message source in Hotmail [closed]

Hotmail changed their interface, and now I can't right click on the message (in list view) and view headers. Also I can't see the page source, besides the clutter within the regular HTML markup. Can ...
0
votes
1answer
492 views

Apache Header cache control using Location

I am trying to set two different http headers for cache control for two different portions of our site. These are the lines in my site.conf for the virtual host: <Location ~ ...
0
votes
2answers
139 views

Apache Prepending Header Information to ALL FILES

We're in the middle of setting up new servers, and have been having some odd problems with Apache. Apache is prepending text that looks like this: $15plðI‚‚�E�ðA™@�@��yeÔ|~Ÿ²�PγZ" zS€�8i³�� ...
0
votes
1answer
281 views

Suppress PHP Headers running cgi PHP from Ruby

I originally posted this on StackOverflow and it was suggested that I try posting this here because, "It might be something like the configuration in CGI is different than the configuration for your ...
-1
votes
2answers
2k views

Exchange2010 has Private Machine Name and IP in outbound SMTP - How to remove?

We have a domain (domain.local) that has IP Addresses in the 10.10.10.* range. In the outbound SMTP server traffic, I see the internal machine name (exchange.domain.local), and the internal ip ...
4
votes
2answers
209 views

What is the best way to move site to new domain without losing google page rank

Hello I just bought new domain for my web page. Is it good to use php redirection to the new domain and what are the exact headers that I must send to google bot to just renew the address and keep the ...
2
votes
2answers
1k views

What does the email header “X-CAA-SPAM” refer to?

I've got an application that sends out notification emails to users of the application (this is not spam; the information in these emails is solicited and useful, and is also a feature turned off by ...
1
vote
1answer
780 views

ngrep - possible to hide payloads?

I use ngrep a lot to inspect HTTP headers to see what's going on. I use the -q flag for quiet output, but I really don't want to see the payloads, only the headers. Is there a way to do this? My ...
1
vote
3answers
6k views

Remove X-Forwarded-For header in Squid 3.0

Some months ago I was working with Squid 3.0 and managed to get rid of the X-Forwarded-For header completely. Now I am trying to do the same thing but I do not seem to hit the nail. I have tried ...
3
votes
1answer
2k views

Is this a proper Content-Type header?

I have a pretty good understanding of the Content-Type header for most cases. I understand that for the following four examples, you would normally follow the MIME-type with charset=your-charset-here. ...
1
vote
2answers
4k views

How do I remove these junk mail headers?

I'm using Postfix 2.3.3 and mail sent from my server always add useless headers which I'd like to remove. Currently I'm only using the PHP mail() function to send mail. Return-Path: Received: from ...
1
vote
1answer
2k views

Should I use Expires headers, Cache-Control headers, or both?

Just trying to do a bit of performance tuning on a client's site. I don't want to set far future expiries yet, because we are still changing a lot of stuff regularly, but I'd like to give everything ...
1
vote
1answer
580 views

Adding mail header if postfix DNS based RBL (realtime black hole) check fails

I have setup a receiving Postfix mail server. Here i have custom code written that parses the whole mail received by postfix and use the headers, body and attachments separately for different uses. I ...
2
votes
1answer
2k views

Disable User-Agent based Vary header response in nginx?

It seems that nginx includes a Vary: Accept-Encoding header in some cases regardless of the file types I specify via "gzip_types". I do not have much experience with nginx. Does it in fact send Vary: ...
1
vote
1answer
280 views

Postfix: Get real forwarded-to address

Our system is set up such that *@our-server.com goes to reader@our-server.com. We automatically process email and it's easier/faster to connect to a single account that has all email rather than the ...
1
vote
1answer
117 views

Doctype xml version definition

W3C DTD instructions include the following as the very first line of a (X)HTML document: <?xml version="1.0" encoding="utf-8"?> I acknowledge the importance of the DOCTYPE declarations that ...
2
votes
2answers
2k views

Sending machine hostname as a header in Apache

I have a group of linux apache 1.3 servers behind a load balancer, and I want to be able to, at a glance, determine which server I'm hitting. The load balancer is severely limited in its monitoring ...
1
vote
4answers
3k views

Is there a way to add expires header to images with Godaddy shared Linux hosting?

I can't find a way to do it. Is it even possible?
16
votes
4answers
16k views

How to dump entire HTTP requests with apache

Is it possible to dump entire HTTP requests by apache? I need to track all HTTP headers of incomming requests. How to do that?
29
votes
5answers
34k views

Setting expires headers for static content served from nginx

I'm using nginx to server my static content, is there a way that I can set the expires headers for every file that meets a specific rule? For example can I set the expires header for all files that ...