Unanswered Questions

3,148 questions with no upvoted or accepted answers
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 ...
8 votes
0 answers
7k 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 ...
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 "^...
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 ...
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 ...
6 votes
0 answers
714 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}[...
6 votes
2 answers
923 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. ...
6 votes
1 answer
593 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 ...
6 votes
1 answer
754 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="...
5 votes
1 answer
711 views

Environment variables not available on server after mod_rewrite, but works locally

I am working on a site where I am using SSI to set a variable on an HTML page that gets parsed and the variable is then to be picked up by a script after a mod_rewrite rewrite. This works on my local ...
5 votes
0 answers
5k 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
5 votes
2 answers
861 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) ...
5 votes
0 answers
375 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 ...
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 ...
5 votes
1 answer
316 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/...
4 votes
1 answer
5k views

What controls the cleanup of the /tmp/systemd-private* directories?

It doesn't seem like the systemd-tmpfiles service cleans up these folders because I have files in /tmp/systemd-private-*-httpd.service-*/tmp/ that are 27ish days old (the last time httpd was restarted)...
4 votes
3 answers
2k views

NGINX Not Serving "Fast" Stale Content with proxy_cache_background_update

We are running NGINX in front of our backend server. We are attempting to enable the proxy_cache_background_update feature to allow NGINX to async updates to the cache and serve STALE content while ...
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 ...
4 votes
0 answers
371 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 ...
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 ...
4 votes
0 answers
330 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 ...
4 votes
1 answer
422 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 ...
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: ...
4 votes
1 answer
468 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 ...
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 ...
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 </...
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 ...
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'...
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 ....
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,...
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/...
4 votes
1 answer
162 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 ...
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 ...
4 votes
1 answer
753 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 [<...
4 votes
0 answers
442 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 ...
4 votes
1 answer
267 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 ...
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://...
4 votes
1 answer
672 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 ...
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/ # ...
4 votes
1 answer
1k 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 ...
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 ...
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 ...
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 ...
4 votes
1 answer
177 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 ...
3 votes
1 answer
167 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.

15 30 50 per page
1
2 3 4 5
63