Apache :: Trying To Set Vary Header

Dec 19, 2013

mod_header is installed and I put this in my htaccess but it doesn't change the header.

<IfModule mod_headers.c>
<FilesMatch ".(htm|html|php)$">
Header append Vary: User-Agent
</FilesMatch>
</IfModule> 

View 1 Replies


ADVERTISEMENT

Apache :: Adding To Header Requested URL

Oct 22, 2014

I am attempting to add a header a number of requested urls i.e.[URL]...

I understand that this can be achieved by

-using mod_rewrite to set an environment variable
-using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus

Header add RSS_FEED_URL "Akamai-Edge-Control"

How to achieve this.

View 1 Replies View Related

Apache :: Remove Cookie From Request Header

Dec 11, 2014

I am using 2.2.29 in Windows.Trying to remove one cookie in a request header before passing the request to the application, but having trouble. The cookie is in the middle of the request header.

View 1 Replies View Related

Apache :: Addin A Script To Header Tag Of A Page

Feb 16, 2014

I'm looking for a way to add a script in the header tag of a web page without using a CMS or anything like that.it should be the first script that is running when the page is rendered.I'm running Apache 2.2.25 and Tomcat 7.0.50 - both Win32 versions.

There are two reasons for an approach like that.

(1) - I expect it to work regardless the CMS I'm working with; the same expectation is for Tomcat and Java applications.
(2) - I'm able to start this as early as possible => includes monitoring the performance of the CMS itself.

View 6 Replies View Related

Apache Restarts After Client Send Request With No Header

Jul 14, 2008

I have a client who's Apache on a CPanel based VPS keep's restarting.

In the error log we recieve two of these lines

"client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFin "

Then the Apache will restart.

I have looked around and found some threads about this problem, but none explaining how to fix this.

View 4 Replies View Related

Apache :: Header Field Exceeds Limit / Tomcat AJP

Feb 3, 2015

My configuration is Apache 2.2.3 using Tomcat - AJP with mod_proxy_ajp, mod_ssl.We have configured Kerberos but some users are getting an error - Size of a request header field exceeds server limit.

Users with headers above 8K are getting this error, users less than 8K can get in fine. How can I increase this header limit in Apache/Tomcat? I have tried multiple suggestions found on google and other sites.

Here is what I tried:

Adding the following to the http.conf
LimitRequestFieldSize 65536
ProxyIOBufferSize 65536

Adding the following to server.xml
packetSize="65536"

editing a workers.propeties file, but we dont have any files on the server with that name.

View 2 Replies View Related

Apache :: Adding A Header To A Number Of Requested URLs

Oct 23, 2014

I am attempting to add a header to a number of requested urls i.e. domain/feeds/chicago, domain/feeds/*.I understand that this can be achieved by

•using mod_rewrite to set an environment variable
•using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus Header add RSS_FEED_URL "Akamai-Edge-Control"

View 1 Replies View Related

Apache :: Disabling Server Info Into Response Header

Mar 4, 2014

We are trying to disable server info into response header.

Header unset Server
Header set Server "unknown"

It is not working.We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).

View 3 Replies View Related

Apache :: Perform SSO To Application - How To Increase HTTP Header Size

Dec 5, 2014

I'm trying to perform SSO to my application. for my login i get an error "Size of a request header field exceeds server limit". I believe the header size got increased then the limit set in apache server. I'm guessing so.

the flow of request: Apache -> tomcat -> SAP Business Objects.

For my colleagues login the SSO works fine with out issue.

So, how to increase the HTTP header size. I'm bridging apache and tomcat using AJP connector. below is the AJP connector parameters in server.xml

<Connector port="8009" protocol="AJP/1.3" redirectPort="443" URIEncoding="UTF-8" enableLookups="false" connectionTimeout="20000"/>

View 1 Replies View Related

Header Already Sent

Mar 27, 2008

PHP Warning: Cannot modify header information - headers already sent in /home/user/public_html/ads/adserv.php on line 68, referer: [url]

What does this mean? All was done was cpanel transfer between two cpanel boxes, that is all. Still using php 4.4.8 / mysql 4 with apache 2.2 (centos 5)

View 4 Replies View Related

Header Output Already Sent

Nov 17, 2008

Would any remote configs responsible for the warning "header output already sent"?

Why i ask this? Because I am programming with php, having this chronicle error, tried fixing every corners but helpless.

View 4 Replies View Related

Spam Header I Really Do Not Understand

Feb 13, 2008

I have been in this industry for 4 years managing my servers alone. However, today I got a spam report that looks like something I have never seen before in my entire life.

Note: The spam is neither comming from an address on my server nor being sent to an address on my server... How is it using my IP then? I tried to check for open relays but found none... Do you have any idea what and how they are doing. None of the email addresses mentioned in the header are hosted on my server! Also the message ID does not appear in my log file:

MIME element (message/feedback-report)
Encapsulated message (message/rfc822)
Headers of embedded message (message/rfc822)
From fakesender@hotmail.com Wed Feb 13 02:37:08 2008
X-Apparently-To: recipient@yahoo.com via 209.191.91.172; Wed, 13 Feb 2008 02:44:39 -0800
X-Originating-IP: [MY.SERVERS.IP.ADDRESS]
Return-Path: < fakesender@hotmail.com>
Authentication-Results: mta139.mail.re4.yahoo.com from=hotmail.com; domainkeys=neutral (no sig)
Received: from MY.SERVERS.IP.ADDRESS (HELO my.servers.hostname) (MY.SERVERS.IP.ADDRESS)
by mta139.mail.re4.yahoo.com with SMTP; Wed, 13 Feb 2008 02:42:56 -0800
Received: from sdcbc (112.23.180.123)
by my.servers.hostname; Wed, 13 Feb 2008 04:37:08 -0600
Message-ID: < 006e01c4df02$fc9cb4e8$c7eb8875@sdcbc>
Reply-To: < someaddress@bellsouth.net>
From: < fakesender@hotmail.com>
To: < recipient@yahoo.com>
Subject: =?koi8-r?B?Qm9vc3QgeW91ciBzZXh1YWwg?=
=?koi8-r?B?cG93ZXIgbm93IQ==?=
Date: Wed, 13 Feb 2008 04:37:08 -0600
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=" ----=_NextPart_000_006F_01C48875.C7EBB4E8"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Length: 777

View 6 Replies View Related

Html,CGi Mail Header

Apr 4, 2007

My server is running Red Hat Linux 9 , without PHP only Html and Cgi websites
are running on it.

Is there any Mail Header Patch for Html,CGi.
Some one is sending Spam email from my Server.

Apr 1 04:03:30 iris2 sendmail[15752]: l318soT3015742: to=<dedev@magna-tel.net>, ctladdr=<apache@hostname> (48/48), delay=00:08:35, xdelay=00:00:01, mailer=esmtp, pri=3000357, relay=magna-tel.net. [68.112.42.50], dsn=2.0.0, stat=Sent (4487747 message accepted for delivery)

I am unable to find that script or source which send email from my Server
because at SENDMAIL LOG it shows only sender address "apache@hostname".

Is there any MAIL HEADER PATCH Like PHP, so i will catch that Script or source.

View 0 Replies View Related

How To Stop Spam With Header Other Than English

May 14, 2008

We have WHM 11 on the server.

Now the server is getting to many spam mails. We already have filters on the server, but we get spam mails with header which are not in English language. The header are normally in russian or arabic language.

how to stop these spam mails with header which are not in english.

View 1 Replies View Related

(http-header-glue.c.333) Strptime() Failed

Apr 4, 2008

My Lighttpd just started showing this:

2008-04-03 12:54:26: (http-header-glue.c.333) strptime() failed on Thu, 42 Jan 3119 19:59:19 GMT

View 2 Replies View Related

View Mail Header Sent By Php Form In Windows

Oct 27, 2007

As stated on subject, how to do it? On Linux, I know I will need to compile php with a patch (for example using Choon's patch) to get it, but dont know how to do on Windows.

View 0 Replies View Related

How Do I Configure Multiple FTP Sites On IIS 6 That Uses Host Header Names

Jan 31, 2007

I have been tasked with setting up IIS6 to run 10 different sites. We will be using the Host Header Names approach as I do not have 10 IP addresses. I want to allow clients to upload/download to their site via FTP. My IIS6 books have examples of how to setup separate FTP sites for individual IP addresses, how do I accomplish this when using Host Headers? I just need to be pointed in the right direction.

View 2 Replies View Related

Plesk 12.x / Linux :: From Header In Php Mail Function Being Overwritten

Feb 23, 2015

I'm trying to send email from a domain using code like this:

$email = "me@domain.com";
$from = "From: $email
";
mail($receiver, $subject, $message, $from);

But i see in the mail logs that from address is being overwritten using the default user for the domain. Is there anyway to configure plesk or postfix to respect those headers?

View 5 Replies View Related

Plesk 12.x / Windows :: After Migration Domainkeys Header Not Added To Sent Mails?

Feb 27, 2015

I recently realized that domainkeys headers are not added to mail messages that are generated on our server. We are using MailEnable Enterprise 8.60 (upgraded on the Stardart edition, that is installed with Plesk).

I thought the problem could be related with this upgrade and created a new VM and tried that out. Installed Windows Server 2012 R2 Std, enabled DNS and IIS with ASP.NET versions, applied all updates, installed Plesk 12 and Upgraded to MailEnabled Enterprise. On the new server mails are going with the correct domainkeys headers.

Now I think that the problem was generated because of the Migration. On the old server Plesk 11.5 was installed and we didn't have any domainkeys issues. When we created our new server, with the same steps I wrote below, and migrated our backup to the new server, domainkeys headers weren't there anymore.

I couldn't find any documentation about this issue. Is there any commands to reset the settings related to domainkeys or may be it's a curruption in the psd database?

View 1 Replies View Related

Plesk 11.x / Windows :: DKIM-Signature Header Exists But Is Not Valid ERROR

Nov 19, 2013

I am having complains from our clients that their mails are always going to spam folders istead of inbox. I decided to have some tests and find out problems which couse the issue and solve them. We have PTR records correctly, Our IPs and domain names are not listed in any blacklists, And I checked "Use DomainKeys" checkbox for all our domains in mail settings.

These were all good and thought that all works well untill I ran a test on [URL].....

I opened a mail file (.MAI) and copied all content (with headers, contents and all) to that site and got a result like;

pts rule name description
---- ---------------------- ---------------------------------------------------
0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust
[95.108.252.17 listed in list.dnswl.org]
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.

[Code] ....

The 3rd line from the last confused me. "Message has a DKIM or DK signature, not necessarily valid" and "DKIM-Signature header exists but is not valid" parts of that report put a question in mind. Does the "Use DomainKeys" checkbox in the Plesk Panel really working? I mean, it creates all the DNS entries and all, but the email message is starting with a line "DomainKey-Status: no signature" and that supports the 2nd line from the last in that report.

The question is, what should I do to make DomainKeys work as it should? I am using the latest 11.5.30 Update #23 of Plesk Panel for Windows on a Windows 2012 Standart server with MainEnable Enterprise Premium. Enterprise version of MainEnable also has DKIM settings available for all the domains in its own panel, but it's disabled because I didn't set anything in there.

View 1 Replies View Related

Plesk 12.x / Linux :: Prematurely Closed Connection While Reading Response Header From Upstream

Jun 25, 2015

I get "502 Bad Gateway" errors in browser and found this in logs:

- upstream prematurely closed connection while reading response header from upstream

- failed (111: Connection refused) while connecting to upstream

restarting Apache solves the problem temporarily.I tried tweaking both nginx and php-fpm config files without success.

View 9 Replies View Related

Plesk 12.x / Linux :: Return Path In Mail Header When Sending Email With PHP Script

Feb 18, 2015

When a PHP script is sending a mail, there is added an return path in mail header. How to change that mail address in return path?

We are using Postfix and CentOS 6.5

Plesk is setting the mail address of the owner of the hosting account. When changing the owners mail address in Plesk, the return path is still the same and is not updated... 

View 3 Replies View Related

Header "Received: From" Lost Hostname

May 14, 2008

From one server we received email (ex. from cron) with header:

Received: from host.myserver.com ([11.22.333.44])

From another server:

Received: from 11-22-333-44.dcpool.ip.webfarm.com ([11.22.333.44])

How fix the second and change "always" with server hostname?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved