Questions tagged [apache-2.2]

Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

3,135 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
2 answers
2k views

1GB VPS - Apache Worker MPM - FCGID - Max concurrent connections - RAM CAP

I have spent a week or two researching and setting up my server to run Apache with the Worker MPM and FCID. I am trying to optimize it to allow for the most concurrent connections possible. It has ...
user1287874's user avatar
8 votes
0 answers
8k views

Apache/SSL: (70014)End of file found: SSL input filter read failed

Figured upgrading on a long weekend was a smart move... Now I'm stuck. The server is spitting out this error (loglevel info): "(70014)End of file found: SSL input filter read failed" when using the ...
Disco's user avatar
  • 375
6 votes
1 answer
2k views

Apache HTTPd 2.2 is ignoring LocationMatch regex

I am trying to create a Reverse Proxy that match every URL except one in Apache 2.2. It works on Apache 2.4 (Centos 7), but not in Apache 2.2 (Centos 6.6) ... # Do not modify this <LocationMatch "^...
cactuschibre's user avatar
6 votes
1 answer
2k views

Setting header based on client certificate

I have Apache running as a reverse proxy for an internal server. Users hitting the proxy are required to use client certificates. On the internal server, there is a web application that can use an ...
Matthew Jacobs's user avatar
6 votes
0 answers
2k views

Apache + Php-FPM + APC : mode_deflate not compressing HTML output

I have prepared a server to run a Magento instance with: Apache + Php-FPM + APC The problem I have is that Apache is not compressing the HTML output from the Magento PHP scripts. In my .htaccess I ...
Ox3's user avatar
  • 161
6 votes
0 answers
725 views

Is it possible to reference environment variables from a php_value statement in .htaccess?

I am trying to access an environment variable in a php_value statement within an .htaccess file. Here's a couple example usages: php_value include_path ".:/usr/lib/php:[b]%{My_Environment_Variable}[...
Non Ba's user avatar
  • 61
6 votes
2 answers
932 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. ...
Jaap's user avatar
  • 377
6 votes
1 answer
598 views

Rails with phusion passenger and wordpress

We had a site developed using on ruby on rails. It had Website Web services for mobile app Admin panel to manage data. We started using wordpress to manage site content. We have finished ...
Venu's user avatar
  • 215
6 votes
1 answer
761 views

mod_evasive with Apache/2.2.16 dosn't work when I use curl

I have apache server: Server version: Apache/2.2.16 (Debian) Architecture: 64-bit threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="...
user165042's user avatar
5 votes
0 answers
6k views

configuration for maximum response size for apache

Is there a config setting in apache that can limit the size (or maybe limits the maximum size) of a response? I'm working on an embedded device that uses apache server to host its web interface. The ...
Lee Jenkins's user avatar
5 votes
0 answers
8k views

Apache stapling_renew_response: responder error

My Apache error log shows a lot of " stapling_renew_response: responder " errors. Was hoping to add a browser screenshot but I'm a newbie and therefore not authorised. This is what is shown from the ...
Mark's user avatar
  • 151
5 votes
0 answers
2k views

Apache as a reverse proxy for GitLab Omnibus

I'm using GitLab Omnibus on a CentOS6.5 server. The gitlab nginx server listen on the 6543 port (Apache already using 80 and 443). I want to use Apache as a reverse proxy to access GitLab with that ...
AMDG's user avatar
  • 151
5 votes
0 answers
2k views

Apache 2.2 fails with "unable to write 'random state'" with 2048-bit RSA key (1024-bit works fine)

I'm usually pretty good with Apache and OpenSSL, but this one has me completely baffled. I'm running Apache 2.2.22 and OpenSSL 1.0.1 on a Ubuntu 12.04 LTS Server. I have an IP-based virtual host ...
Calrion's user avatar
  • 570
5 votes
1 answer
1k views

ModSecurity on Apache (Debian Wheezy), Authentication logging

I am new to ModSecurity, it works great on the server, but I would like to control the way it logs things. For example as I am troubleshooting my website in order to whitelist or correct php coding ...
durduvakis's user avatar
5 votes
0 answers
2k views

Linux/Apache 2.4.3 MPM event error scoreboard is full, not at MaxRequestWorkers

I have a server used for shared hosting running Linux/Apache 2.4.3 event MPM Apache is reporting "error scoreboard is full, not at MaxRequestWorkers" in the error log every second. I don't know what ...
wlf's user avatar
  • 371
5 votes
2 answers
866 views

apache/httpd responds slower under EL6.1 than EL5.6 (CentOS)

I've read through other threads on performance differences between RHEL 6 and RHEL 5, but none seem a tight match to mine. My issue manifests itself in slightly slower average response time (20ms) ...
daniel's user avatar
  • 51
5 votes
0 answers
381 views

Apparmor externally included hats not working

Running apache2 on Ubuntu 12.04, using mod-apparmor for change-hat support. I have installed and verified that change-hat is working but that it is not working for externally included hats like the ...
David's user avatar
  • 414
5 votes
0 answers
1k views

NGINX mod _proxy_html available?

Somebody created already a similar http://apache.webthing.com/mod_proxy_html/ mod_proxy_html module for Nginx? I think the closest module would be http://wiki.nginx.org/HttpSubsModule but I have no ...
heuri's user avatar
  • 81
5 votes
1 answer
337 views

git http-backend show info when accessing per browser

I'm currently hosting my own git-repos for my private projects. For this, I use Apache and the standard git http-backend. Now, a repo can be accessed under an URL like this: http://vcs.myserver.lc/...
Lukas Knuth's user avatar
4 votes
0 answers
3k views

How to conditionally unset header in .htaccess file?

I'm trying to conditionally unset X-Frame-Options in an .htaccess file if the request URL begins with /store. This is the code I am working with in .htaccess: # Allow store iframe to be loaded from ...
Chris's user avatar
  • 273
4 votes
0 answers
412 views

Unset a header from a proxied response

I have a proxy configuration under Apache 2.2 which passes all requests for /blog to a host I have no control over. I want to unset a particular HTTP header (X-Powered-By: PHP) from the proxied ...
IMSoP's user avatar
  • 500
4 votes
0 answers
396 views

How to configure Apache to make him check the client certificate with the one in LDAP?

I’m trying to configure my Apache server for an HTTPS authentication with client certificates using LDAP as my users directory. What I want to do is that Apache asks users to authenticate themselves ...
Alberic's user avatar
  • 41
4 votes
0 answers
3k views

How do I convert Nginx location rewrites to Apache

I have a site that was running using nginx but now it is apache Im trying to convert nginx to apache and have had no success This is the nginx file I want to convert to apache: server { listen ...
Tcmxc's user avatar
  • 141
4 votes
0 answers
336 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
Rory McDonald's user avatar
4 votes
1 answer
441 views

Apache Reverse Proxy Unescapes URL

I am running Apache 2.2.15 as a reverse proxy in my DMZ. I have an application on the internal network that I make available on the Internet for staff to use by going through the reverse proxy. As ...
Random Guy on the Internet's user avatar
4 votes
1 answer
2k views

Slowloris on Apache: is mod_reqtimeout + mod_qos enough?

I detected few days ago that my server was under slowloris attack (I found a lot of "-" 408 0 "-" "-" values in my access.log). I changed my configuration like this: In mod_reqtimeout: ...
lucas47's user avatar
  • 41
4 votes
1 answer
474 views

Need 32 Bit Apache on Red Hat 6.5 64bit

I have a Red Hat 6.5 Enterprise Server which is 64 bit. I have a 3rd party package that I use for Web Services that is an add-on to Apache Web Server. This package is 32 bit so I need to have a 32 bit ...
Sleepy's user avatar
  • 41
4 votes
0 answers
4k views

vagrant apache not accessible from host

I am runing a virtual box from vagrant and I am trying to access web pages that are served by guest apache server. When I execute wget http://dev.test.com/index.html on guest everything works fine ...
Domen Vrankar's user avatar
4 votes
1 answer
1k views

On Apache2/mod_perl2, stderr output doesn't go to logfile nominated by ErrorLog

I like to maintain separate Apache2 logfiles for each of my named virtual hosts, like this: <VirtualHost *:80> ServerName myhost.example.com ErrorLog /var/log/apache2/myhost-error.log </...
Mike Taylor's user avatar
4 votes
0 answers
4k views

How mod_cache working with "must-revalidate" and "max-age"?

Quick question before I will explain my flow: Сan mod_cache perform revalidate with if-none-match only if max-age is expired in case if it configured in reverse proxy mode? My goal is to reduce a ...
Dmitriy Sosunov's user avatar
4 votes
1 answer
2k views

Apache2 not sending installed SSL certificate

I've spent hours and hours researching this problem and before I do something drastic like redoing all of the relevant configs I thought I'd ask for help. I'm a student sys-admin at a college and we'...
tmband25's user avatar
4 votes
1 answer
3k views

htaccess rewriting all subdomains to subdirectories

I'm trying to build a catch-all for any subdomains (not captured by previous rewrite rules) for a certain domain, and serve a website from a subdirectory that resides in the same folder as the ....
indorock's user avatar
  • 141
4 votes
0 answers
1k views

Strange Apache/PHP&Perl behavior—error (70007)

I’m dealing with a particular strange situation: I have two Linux machines, one with Scientific Linux (v4.8) and one with CentOS (v6.2). On the SL machine I have a XAMPP distribution with Apache 2.2.9,...
Alex's user avatar
  • 217
4 votes
1 answer
4k views

Apache mod_deflate not compressing javascript and css files?

"GET /Symfony/web/app.php/app/dashboard HTTP/1.1" 4513/37979 (11%) "GET /Symfony/web/css/application.css HTTP/1.1" -/- (-%) "GET /Symfony/web/js/application.js HTTP/1.1" -/- (-%) "GET /Symfony/web/js/...
gremo's user avatar
  • 349
4 votes
1 answer
163 views

apache fails to restart...happened out of the blue :/

Tried navigating to my server today and noticed that NONE of my hosted websites are loading...even if I enter the ip and try to hit the default page I get nothing. I hadn't touched the server since it ...
Jason's user avatar
  • 41
4 votes
1 answer
3k views

Changing a Set-Cookie header using mod_rewrite/mod_proxy

I have a bunch of CGI scripts, which are served using HTTPS. They can only be reached on the intranet, not from the outside. They set a cookie with the attribute 'Secure', so that it can only be send ...
olrehm's user avatar
  • 191
4 votes
1 answer
757 views

Apache is not using SWAP and it's reporting page allocation failure

Check the logs: httpd: page allocation failure. order:4, mode:0xd0 Call Trace: [<ffffffff8000f696>] __alloc_pages+0x2ef/0x308 [<ffffffff80017a40>] cache_grow+0x139/0x3c7 [<...
Spacedust's user avatar
  • 568
4 votes
0 answers
444 views

How to add SSL for localhost in RAILS

I want to test my application which needs to work both with and without SSL. If it is possible to set up SSL for a local application (http://localhost:3000), please let me know some suggestions, my OS ...
loganathan's user avatar
4 votes
1 answer
268 views

Problems restarting Apache - Curl related

I'm having a problem compiling LAMP, I have everything compiled and working, but when I try to restart apache I get the following error: seg fault or similar nasty error detected in the parent ...
Pablo's user avatar
  • 51
4 votes
1 answer
5k views

Jetty Service on Windows Server 2008 using Procrun: Missing service ImageFile

Xe want to run Jetty as a service on a Windows 2008 Server Virtual Machine. Therefore, I configured Jetty as a Windows Service using Apacke Procrun, following this short description: https://...
Christian's user avatar
4 votes
1 answer
679 views

Is Apache ReverseProxy to Passenger Standalone an acceptable production deployment?

I have the need to deploy Rails 3 apps, using RVM and gemsets, and am expecting “public” traffic (i.e. this is not an internal-only app). I also must use Apache as the public interface to my app. I ...
davetron5000's user avatar
4 votes
0 answers
1k views

nginx equivalent to Apache MultiViews?

If you put this in your .htaccess file Options MultiViews and you have these files stuff/ howto.html index.php items.php then all of these web addresses work /stuff/ # ...
Andrew Banks's user avatar
4 votes
1 answer
2k views

Premature end of script headers, mod_fcgi

I have PHP website running under mod_fcgi in apache2. Problem is that in some cases i get (probability is something like 1/400): Premature end of script headers: controller.php and Internal Server ...
martu's user avatar
  • 41
4 votes
2 answers
4k views

403 with Apache and Symfony on Ubuntu 10.04

I'm trying to run symfony on my apache installation (I'm using xampp for the whole package) and it keeps giving me a 403 error every time I try to access my website. I've got vhosts set up with the ...
Dominic Santos's user avatar
4 votes
2 answers
2k views

mod_headers not working for php + mod_fastcgi pages

I'm running PHP through mod_fastcgi & mod_suexec, and I added Header set X-UA-Compatible "IE=edge env=best-standards-support" to my .htaccess file. It works fine for static content, but the PHP ...
Eric's user avatar
  • 593
4 votes
1 answer
2k views

apache and ajp performance

I have an apache sitting in front of two tomcat app servers(one on the same physical server, the other on a different one) that does time consuming work(0.5 sec to 10sec per request). The apache http ...
user12145's user avatar
  • 1,125
4 votes
1 answer
180 views

Apache rewrite works under FreeBSD, not under CentOS

I have 5 production servers which are running FreeBSD 9.2, but we are planning on transitioning to CentOS. Because of this, I am attempting to set up some virtual machines to emulate our production ...
Peter's user avatar
  • 133
3 votes
1 answer
194 views

Why is apache -X stuck in a pselec6() NULL loop?

version 2.4 pselect6(0, NULL, NULL, NULL, {tv_sec=0, tv_nsec=100000000}, NULL) = 0 (Timeout) Repeats forever using strace. Only one httpd process enabled.
queryman2000's user avatar
3 votes
1 answer
2k views

Misdirected Request HTTP 421 Error when using Nginx but not Apache as reverse proxy

For a specific use-case, I want to put a reverse proxy (RP) in the cloud in front of an application already packaged with another RP listening to HTTPS only. I don't have any access to the ...
xenom's user avatar
  • 51
3 votes
0 answers
581 views

Have apache run a script before handling request

I want to have Apache run a script every time it gets a request. To be clear I want apache to serve the actual file and just have this script called right before Apache handles the request (I have my ...
Dovid Bender's user avatar

1
2 3 4 5
63