The tag has no usage guidance.

learn more… | top users | synonyms

20
votes
5answers
25k 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?
14
votes
3answers
23k 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 ...
10
votes
4answers
9k views

Referer is passed from HTTPS to HTTP in some cases… How?

In theory browsers do not pass on referer information from HTTPS to HTTP sites. And in my experience this has always been true. But I just found an exception, and I want to understand why it works so ...
8
votes
4answers
11k 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 ...
7
votes
4answers
2k views

“Delivered-To” Header in Exchange

In some SMTP server implementations (i.e. Postfix) you can enable Delivered-To and X-Original-To headers that will be added to your email. (or [X-]Envelope-To) This is very helpful with distribution ...
6
votes
2answers
435 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. ...
5
votes
1answer
383 views

Postfix: selecting relay host based on From: mail header rather than envelope sender

I've successfully set Postfix to relay emails via Mandrill using SASL and sender_dependent_relayhost_maps with a MySQL table so that different senders connect to Mandrill using their own Mandrill ...
4
votes
1answer
5k views

Apache - disable range requests - disadvantages?

As there is a working exploit against Apache's byte range implementation (CVE-2011-3192, see here), I'd like to disable it until official patches are shipped with my distros (Debian, Ubuntu). The ...
4
votes
2answers
6k 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 ...
4
votes
1answer
102 views

Why is sendmail adding an extra carriage return in headers?

I've got SendMail 8.14.4 running on a CentOS 5 server. A user in Japan is sending a message and when it gets processed by the server, SendMail is adding an extra carriage return for some reason. ...
4
votes
2answers
214 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 ...
4
votes
1answer
3k 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. ...
3
votes
1answer
92 views

Is there a legitimate reason to use an encoded word in any header other than the subject?

Encoded words allow non-US-ASCII characters to be encoded as US-ASCII and thus placed into email headers. http://en.wikipedia.org/wiki/MIME#Encoded-Word Encoded words are often used in the Subject ...
3
votes
2answers
1k views

postfix - different header checks for incoming and outgoing mail

How can I apply different header_checks for incoming and outoing mail using postfix? By default, all header_checks are applied to both incoming and outgoing.
3
votes
1answer
2k views

Build kernel headers to compile R1Soft hcp module

I'm running a Xen based VM with CentOS 5, and my hosting provider pushes kernel version 2.6.37.6 from the host machine (so no pv-grub). [root@dev ~]# uname -r 2.6.37.6 I'm trying to install the ...
2
votes
3answers
1k views

SPARC T4, Solaris 11, no access to internet, how to install system headers (or a working compiler)

I need to compile a C program on SPARC T4-1 (Solaris 11) machine that has been deployed to customer network, and it no longer has access to the Internet. Originally during the setup, compilation ...
2
votes
2answers
3k 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 ...
2
votes
2answers
121 views

Minimal size of TCP communication

I am sending small amounts of data (up to 100 bytes) every 10 minutes from devices to TCP server. In my case overhead seems to be huge (we pay for each byte). I found that I have at least 7-10 packets ...
2
votes
1answer
2k views

Sending e-mail from sendmail with headers

I am trying to send an e-mail with sendmail, but I need to specify some headers (From, Content-Type, Subject). Here is the command I am currently running: echo "Content-Type: text/plain\r\nFrom: ...
2
votes
2answers
132 views

Postfix header stating wrong IP

I am using Postfix 2.11.3 on Debian 8.0 I configured Postfix to run multiple instances (3), one for each public IP connected to our server in order to balance outgoing traffic depending on the ...
2
votes
2answers
390 views

Requesting better explanation for expires headers

I have successfully implemented expires headers however, for several days I have been stumped by one thing. This article: ...
2
votes
1answer
918 views

2 Received from header at IIS SMTP email send via C# application

I am using windows server 2008 r2 and IIS 7.5 normally. I am using IIS 6 smpt server to send emails. Right now when i send email via my C# application i am seeing 2 received from headers. What might ...
2
votes
3answers
4k 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 ...
2
votes
1answer
1k views

Hide/Replace Nginx Location Header?

I am trying to pass a PCI compliance test, and I'm getting a single "high risk vulnerability". The problem is described as: Information on the machine which a web server is located is sometimes ...
2
votes
2answers
1k views

Apache2 merge multiple Set-Cookie headers

We have a server running varnish. In order that it works correctly with Magento it analyses whether a Set-Cookie: EXTERNAL_NO_CACHE=1 header is passed through. Only problem is that we have several ...
2
votes
1answer
1k 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 ...
2
votes
1answer
40 views

postfix HOLD Recieved non authenticated

i'm wondering if is possibile to put on hold emails that not have authenticated in Recieved header . i've tryed with a simple negate operazione with pcre !/^Received:.*Authenticated*/ HOLD but ...
2
votes
2answers
2k views

nginx: Specify custom headers in rewritten location blocks

I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom ...
2
votes
2answers
181 views

last modification date of web page unknown

I would like to check the age of the document in the webpage but it does not show! here is the result of a telnet to the server: telnet av.hostoi.com 80 Connected to av.hostoi.com. HEAD / HTTP/1.0 ...
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 ...
2
votes
2answers
2k 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 ...
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: ...
2
votes
0answers
881 views

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

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 ...
2
votes
2answers
2k views

All headers pass, hotmail still marks as spam [duplicate]

Possible Duplicate: Why Does hotmail still reject my emails? So I've been working a long time on fixing the Hotmail issue, but nothing seems to work: Created my SPF records with the ...
2
votes
1answer
134 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
907 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
2answers
5k 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
3answers
11k 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 ...
1
vote
2answers
3k views

What does this Received email header line mean?

I'm a little paranoid that my new mail server might not be configured right, and I'm wondering if I made a mistake somewhere. Or maybe it's just the way Yahoo does things with their mail service. To ...
1
vote
3answers
208 views

Is TCP header the same as TCP segment?

So, is a TCP header actually the same thing as a TCP segment? I was reading this page, where it reads near the end that: Even though it might seem they are, in most cases, when referring to the ...
1
vote
1answer
3k views

Nginx not processing proxy hide header and proxy ignore headers

I have trouble trying to make Nginx ignore and hide some headers from a proxied server. I want Nginx to hide and ignore "Cache Control" and "Server" headers but it didn't work, I don't know why. My ...
1
vote
1answer
1k views

Content-length does not appear with nginx and php files

I have a nginx server which serve a website. With my browser i can reach index.php, but when i look at the headers with firebug, i can't see the content-length on any php files, but for example i can ...
1
vote
2answers
1k 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
1answer
886 views

Forwarding email with postfix via AWS SES

I have a server with postfix MTA installed that accepts mail for my domain, hereinafter @example.com. I need to setup forwarding for certain emails@example.com to other emails . e.g. @gmail.com and ...
1
vote
1answer
197 views

postfix additional header addition

X-LBSMTP-Spam-Policy: SendBlaster SMTP is a paid relay service.We do not tolerate UCE of any kind. Please report it ASAP to abuse@lbsmtp.org. I want to add such a header to mails sent by my postfix ...
1
vote
2answers
167 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 ...
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
261 views

Postfix bad notify parameter syntax

Please bear with me as I'm not an expert admin I have a linux mail server that has been running for a couple of years and now all of a sudden a certain user is unable to send emails. They immediately ...
1
vote
1answer
193 views

Spam avoidance issue

I'm working on a project right now that sends email as confirmation of purchase. Some emails are still being received as spam. I have signed the domain up for google apps for business & am using ...
1
vote
1answer
630 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 ...