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
ADVERTISEMENT
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
May 5, 2015
I'm working on transferring my Hostings to a new server, but ran into some problems.
Transferring the data from one Plesk 12 server to another works quite well using the migration manager, although you have to create the service plans by hand as well as you need to work through the server configuration parameters.
After re-creating the service plans I wanted to link and sync them to the subscriptions, but unfortunately I have no success to do so, because everytime I try to get them in sync, it tells me that Apache ASP support is enabled for the subscription and needs to be disabled. Plesk then tells me, the setting is disabled, but next time you try to sync the subscription... ASP is back enabled.
Problem is that on the old server I had Apache ASP enabled and used it in my hostings.
I tried to solve the problem using the command line tools, but "./subscription -u domain.name -asp false" returns "SUCCESS: Update of domain 'domain.name' completed.", but you can guess, same problem.
As a last resort I disabled Apache ASP support for my hostings on the old server, deleted everything on the new one and I got no warnings before migrating about the missing ASP feature.
But unfortunately this procedure ended up with the same problem as before.
Is there a way to remove the ASP support from the existing subscriptions?
View 1 Replies
View Related
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
View Related
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
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
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
Jun 4, 2014
At times as I'm developing, due to some coding error in PHP on my part, particularly calling a COM object, the apache server crashes. I'm delighted that it recovers, but in so doing it always tries to rerun the query that crashed it, which just causes another crash, and so on. Is there some way of getting round this, so that it recovers but the problematic code is not rerun?
XP SP3 (still!)
Apache/2.4.3 (Win32) mod_fcgid/2.3.7 PHP/5.4.9
Firefox (Aurora)
View 1 Replies
View Related
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
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
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
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
Apr 24, 2007
if there is a command which will tail or grep Apache logs for xx lines in depth and return results in sort of most IP to least IPs like IP 1 xx connection IP2 x and so on ?
View 1 Replies
View Related
Jun 16, 2014
My development environment is:
OS: Windows 2003 SP2
Httpd: 2.4.9
JDK: 1.7.0_60
Tomcat: 7.0.45
mod_jk: 1.2.40
When I deploy my application into tomcat, and bind httpd with AJP, httpd do not response occasionally, it will halt 2-3 minutes. The quickly way is restart httpd
View 1 Replies
View Related
Oct 21, 2014
I have setup a reverse proxy that allows users to query an internal server. That internal server returns a JSON or XML response.
In that response some URLS need to be rewritten as they cannot be resolved externally. Is it possible to rewrite JSON/XML response bodies?
I experimented with "ProxyHTMLURLMap 1.1.1.1 2.2.2.2" but that did not work (seems to ignore the JSON response entirely)...
View 1 Replies
View Related
Sep 1, 2007
How would I Remove/Modify the Apache version from Domaintools?
Heres what I mean:
[url]
View 8 Replies
View Related
Oct 17, 2013
My site will wait for 30s almost everytime before loading any of the page itself.Specs of my install:
- DigitalOcean Droplet (VPS) with Ubuntu Server 12.10: 512 Ram and 20GB SSD (not even coming close to needing more RAM, still have 240MB free according to top)
- Wordpress 3.6.1
- 5 plugins: W3 Total Cache, Wordpress SEO by yoast, WP Better Security, WP Smush.it, and Redirection (problem occured before adding the last 2, I can't remember about the others)
- No traffic to speak of. I get maybe 10 uniques/day.
- Apache 2.2.22
- MySQL 5.5.32
I've optimized my site itself the best I can, minifying and combine js and css files, using the WP Smush. It plugin to compress images, serving jQuery from a CDN, but none of that worked the 30 second wait (though it did shave about 10 seconds off the load time after the wait for response).
I was using cloudflare and had to fiddle with the nameservers of my domain, but cloudflare didn't work at all and I switched the nameservers back to normal pointing DNS directly at my site to eliminate the obvious causes. I'm comfortable with Linux and the command line. This is the link to my site: [URL] ....
View 3 Replies
View Related
Aug 17, 2012
How can i remove "Connection and keep-alive" from response headers ? I am using Apache http server to load balance two tomcat nodes
Apache Server- Apache/2.4.2
mod_jk - 1.2.27
Apache tomcat - Apache Tomcat/7.0.23
JDK - 1.6
I have also enabled SSL in the apache http server using mod_ssl. The load balancing works fine, but in all the response headers these connection attributes are added "Connection: keep-alive keep-alive: timeout=5"
Is there a way to remove these headers? I do not want these headers to be added in the response. I have also tried mod_header to unset these headers, but no use. HTTP/1.1 protocol is being used, so eventhough the connection is not present in the header, the connection would should be considered as persistent. Why is apache sending these attributes explicitly in each response. I just want to get rid of these attribute...
View 7 Replies
View Related
Apr 3, 2015
I using apache server and I have the following lines in my code.
Code:
import logging
LOG = logging.getLogger(__name__)
msg = "This is level info"
LOG.info(msg)
Here the message "This is level info" must come in level 'info' in the apache2/error.log
But I get the message in file "apache2/error.log" as follows:
[Thu Apr 02 12:57:59 2015] [error] This is level info
Since the message is logged with LOG.info it is expected to be of class [info]
View 5 Replies
View Related
May 30, 2013
I am using the latest version of Apache on an Windows XP machine
When my web service is down for maintenance, since Apache is will still be up and running, I would like for Apache to serve an xml file as a response for the appropriate request. I have three operations available, makePayment, calculateFee, and voidPayment.
Is it possible to have Apache determine what type of request is made for example if I have an xml error page for each operation; how will Apache know which xml file to serve based on the operation request from the client
To make it more clear: What is the best practice for modifying apache to know what request is being made in order to serve the appropriate xml file?
View 1 Replies
View Related
Jan 22, 2014
I have Configured Apache2.4.4 for forward Proxy and tested from my browser the response is very slow and even not coming complete Response for some requests.
I also Tested the same for Apache2.2 Forward Proxy it is very fast and good.
May I know what is the Problem in Apache 2.4
Is there any Issues in proxy modules (mod_proxy,mod_proxy_connect.so,mod_proxy_http.so) in Apache2.4
This is the same configuration i used for Apache2.2 and Apache2.4
##########################################################################
## Apache Forward proxy
##########################################################################
<IfModule !proxy_module>
LoadModule proxy_module modules/mod_proxy.so
</IfModule>
<IfModule !proxy_connect_module>
LoadModule proxy_connect_module modules/mod_proxy_connect.so
[Code] ....
View 1 Replies
View Related
Oct 6, 2008
how can i get all my vps / servers information and configuration reports, like a full report on a server.
So i already uploaded phpinfo.php so i can get the PHP report. And about getting other reports, like sql config, apache, plesk,?
View 8 Replies
View Related
Sep 21, 2007
my website serving only a piece of the page, but getting a 'bad server response' in the Activity Window of Safari, and CSS and other errors in FireFox, but both browsers rendering only a portion of the page.
What happened? I hadn't made any changes to the site or server in a long time.
Also it seems to be on the server since others are experiencing the same thing.
Oddly, the other virtual hosts running are fine.
View 0 Replies
View Related
Apr 6, 2009
I am tried to make a file to tell me the php info of my server, but I get the following error.
Warning: phpinfo() has been disabled for security reasons
I have no idea how to enable or figure out why this is happening
I did disable some stuff in PHP configuration a while back because people were uploading c99 shells and whatnot on my box, so I'm not sure if that could be the issue.
I am running WHM/Cpanel on my server
View 4 Replies
View Related
Apr 14, 2007
How can we know that how long it takes our server to respond, in terms of Microseconds. Is it take long time while processing an Ms Access database or SQL Server, Sending flash movies to client.
For example, I can accomplish a task while reading data from server database , also I can accomplish it using an image or flash movie.
Which way should be efficient for my visitors, I am using a paid hosting plan.
Also I have another question.
How could I know that a web hosting provider company's server is a fast machine than other company. I have options like "WebHost Company1" & "WebHost Company2"
I host the same website on both servers, while I request some page in a client machine, How could I measure the efficency & speed of the server, I am sure both servers will not send content to client with same speed.
due to any reasons, may be 1 server has more traffic, has slow hardware, has longer route.
Also which technology is faster, ASP, ASP.Net, PHP, coldfusion. Is there some way to measure these facts about a webserver.
In these cases, how could I choose best server. How to made decession about that.
View 6 Replies
View Related
Apr 11, 2009
I am on a Zeus server and I am trying to do a 301 redirect from my .net to my .com
View 3 Replies
View Related
Jun 9, 2009
I have a dedicated server that I am renting that appears to randomly respond very slowly for some reason (pings are between 90-4000ms with about 75% packet loss).
This has been happening lately (about once a week for the past 4 weeks) and I thought I had originally found the cause of the problem but it appears I haven't.
Originally, when this problem was happening we were getting an abnormally high about of traffic but a reboot always fixed the issue. I've checked every where I can think of but I cannot find anything out of the ordinary.
ight now we're averaging less than 2Mbps in traffic, the CPU load is less than 0.75, the memory usage is at 55% with no swap being used, Apache connections are normal, no active SSH, FTP, or mail connections, I've restarted all services which had no impact, I've checked the access and error logs but can't see anything out of the ordinary.
I have a ticket open with the data center but I'm trying to figure this out on my own to fix whatever is causing this so I can move my data over to a new server we just got setup over the weekend in a local data center.
View 7 Replies
View Related
Oct 6, 2008
I recently made a shift to FDC for one of my servers that I use for downloadable content.
I went for a $199 server with a 100mbps shared bandwidth port. Now, the only problem I seem to be having with it is that downloads appear to be, I would say recognized, very slowly by the server before they start, however, once the download starts I get a full speed. This usually happens during peak times.
I'm using about 10/15mbps on the server according to my cPanel statistics. I just wanted to ask here prior to contacting FDC on this, whether this slow server response time has something to do with the bandwidth port, or perhaps the server's RAM, CPU, etc? Given I'm using quite minimal bandwidth on the port, should I consider having them fix this or upgrade the server instead?
And if I had to upgrade, would I need to upgrade the port or the RAM, or both for this?
View 3 Replies
View Related