The headers tag has no wiki summary.
4
votes
0answers
115 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
73 views
Gzip compression with nginx
In my nginx.conf I have:
gzip on;
gzip_static on;
gzip_buffers 16 8k;
gzip_comp_level 9;
gzip_http_version 1.0;
gzip_min_length 1000;
gzip_types text/plain text/css ...
18
votes
4answers
19k 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 ...
-2
votes
1answer
57 views
Cross-Compiling on x86 for Solaris SPARC [closed]
I've looked at a few sources on how to go about cross-compiling, and from what I understand, I need the header files for the system I am compiling for.
Some background info: The school I am a student ...
1
vote
1answer
574 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 ...
0
votes
1answer
213 views
Content disposition header on Nginx
I am doing a setup where Apache runs the web application and NginX serves files that users download. The files should be downloaded with their real names instead of the names their are being stored ...
7
votes
4answers
612 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 ...
2
votes
2answers
113 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
...
0
votes
2answers
1k 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 ...
2
votes
2answers
365 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 ...
-1
votes
1answer
318 views
Hide server ip from email header
I use ddos mitigation services on my server and due to this it is very important that my server ip stays hidden. I own two servers, the primary server houses my website and the secondary server is ...
0
votes
2answers
104 views
Postfix Header Filter
I have set up a header filter in postfix to discard messages from Russia and Romania because of the volume of spam coming from those and we do not currently do business in those countries.
My regex ...
2
votes
4answers
2k 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
1answer
52 views
How do I change the received url in outgoing emails
I've got a cheap and cheerful dedicated server from 1and1 that I use to send emails.
The received email header looks like this:
Received: from s123456.onlinehome-server.info ...
0
votes
2answers
46 views
Files and their headers? [closed]
(I'm a dos guy , I always liked to view files in norton commander and see inside stuff etc)
however over the years I've noticed that each file(well , most of) ( binary files ) has header :
For ...
1
vote
0answers
130 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
2answers
909 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 ...
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?
1
vote
1answer
83 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 ...
0
votes
3answers
190 views
Can HTTP headers be used to tell if page has been through a proxy?
Is there a way to tell from HTTP headers with a page if a proxy server has been involved in the connection?
2
votes
1answer
108 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 ...
1
vote
0answers
92 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 ...
2
votes
1answer
215 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 ...
2
votes
5answers
2k 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 ...
1
vote
2answers
129 views
Isn't it a bug to receive mail already containing a Delivered-To: <myaddress> header?
I'm managing a bunch of mail servers, the MX are postfix+amavisd-new systems while the mailboxes are on a qmail+vpopmail box. Yeah, we already plan to move everything to postfix but that's another ...
2
votes
2answers
220 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
660 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
1answer
391 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 ...
1
vote
1answer
163 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
358 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 ...
1
vote
1answer
127 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: ...
1
vote
1answer
464 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 ...
2
votes
2answers
453 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 ...
0
votes
1answer
128 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 ...
3
votes
1answer
3k 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 ...
0
votes
2answers
1k 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.
7
votes
2answers
8k 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
261 views
Adding To: header to incoming mails using hMail server
I have just enabled plus-addressing with my instance of hMailServer. Now, whenever I sign up for an online service, I can easily provide a unique email address for that service. This is part ...
0
votes
1answer
178 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
195 views
Content-Type header stripped in Email after switching servers
My program sends daily emails to users. I recently switched servers and once we setup the email job on the new server, one of our users complained that they are receiving the email in plan text. No ...
1
vote
2answers
2k 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
1answer
443 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 ...
0
votes
3answers
147 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 ...
1
vote
2answers
138 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 ...
0
votes
0answers
94 views
how to read file system headers?
I want to know the abstrat content of a page in a file system in a disk image(not necessarily over the network). I believe the best way to do it is to read the file headers. but i do not know how to ...
1
vote
1answer
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 ...
0
votes
3answers
765 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
471 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 ...
0
votes
1answer
112 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 ...
-1
votes
2answers
359 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 ...
