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)

OFF-TOPIC WARNING: Apache version 2.2 reached end-of-life with the final release of version 2.2.34 in July 2017. No further evaluation of security risks will be published for 2.2.x releases, and Apache users should immediately transition to version 2.4.x. Because Apache 2.2 is unsupported, most, if not all, questions regarding Apache 2.2 will be off-topic on ServerFault.

The Apache HTTP Server is a popular Open Source Web server.

This tag should be used for questions specific to version 2.2 of Apache HTTPD. For more general Apache HTTP Server related questions, you should use the Apache2 tag instead.

Apache is very well documented and most functionality is described in detail within this documentation. Specific documentation is available for Version 2.2

If you are asking a question on Server Fault about Virtual Hosts, can you please include the output of either:

# Debian Linux and its derivates
apache2ctl -S
# Most other UNIX/Linux distributions
apachectl -S
# Non UNIX/Linux distributions or if you are unable to find apachectl
httpd -S 

Including this will involve in a much faster answer to your question, as no doubt the first thing people will ask for is that output.


For questions about Apache 2.4 please use

17280 questions
4
votes
1 answer

apache reverse proxy: following redirects?

Is it possible to make apache (2.2) mod_proxy follow upstream redirects (http 301, 302)? Usually one would configure a reverse proxy like: ProxyPass /foo http://upstream.example.com/bar ProxyPassReverse /foo …
André Fernandes
  • 969
  • 1
  • 10
  • 25
4
votes
4 answers

Is a wildcard SSL required for a single subdomain?

A typical SSL cert is based on a common name for the domain (domain.com) sometimes (www.domain.com) as well. I understand what a wildcard cert is used for (*.domain.com) and it would/should validate all subdomains for that domain. If I want to…
PenguinCoder
  • 529
  • 2
  • 6
  • 17
4
votes
1 answer

Apache mod_wsgi installation error

I'm running CentOS 6.7, I'm trying to install mod_wsgi (https://code.google.com/p/modwsgi/) Normally I'd just do: yum install mod_wsgi But since I need to make sure it compiles under Python 2.7 (as opposed to CentOS default Python 2.6 version), I…
Jorg Ancrath
  • 249
  • 4
  • 9
4
votes
1 answer

Logging TLS version used by clients connecting to Apache

Recently in the news was an announcement that the PCI standards in the UK will outlaw the use of TLS1.0. Unfortunately, this means that we're going to have to stop using TLS1.0 on our web servers for ecommerce by summer next year. We want to know…
John Hunt
  • 428
  • 3
  • 10
  • 20
4
votes
5 answers

Apache mod_rewrite remove question mark (?) and query-string substitution

I registered a RewriteRule with mod_rewrite, but the substituted URL are wrong. The rule are: RewriteRule ^/img/z(0|1)u(.+)\.(gif|jpg|jpeg|png)$ /image-servlet/img/?z=$1&url=$2 [NE,QSA,PT,T=image/$3] When I access the following…
Andre Pastore
  • 163
  • 1
  • 12
4
votes
1 answer

Nginx/Apache subdomain problem

I'm having some trouble setting up a subdomain for clients.lipsmack.co.uk. I've set up a DNS A record to point to my IP address, and I've created proxy and vhost information for nginx and apache, but I'm getting a server not found response when I go…
Gary Chambers
  • 161
  • 1
  • 8
4
votes
3 answers

Wordpress wp-admin redirect loop behind IIS ARR Reverse Proxy

I've got a bit of a unique and interesting setup going on from what I can tell, with an interesting issue. I have a Windows Server 2012 box as my main web server hosting website.com. At http://website.com/sites/ I have a reverse proxy setup with ARR…
Chiggins
  • 811
  • 8
  • 21
  • 37
4
votes
3 answers

Why is Apache ignoring the "Options Indexes" directive?

I have the following block in my .conf file but when I load the appropriate URL (which points to a directory with just a dummy .txt file in it) I get the Apache 2 Test Page instead of a directory listing.
Teflon Ted
  • 510
  • 2
  • 7
  • 18
4
votes
4 answers

Apache2 server requesting ITSELF on random HTTP activity

I'm at the end of my rope and could really use some fresh insight/suggestions. The problem: While runing Apache 2.2.3 on Debian Etch, my Apache server frequently sends a request to ITSELF (to the LAST virtual host in the config file) on random…
Jeff
  • 1,416
  • 3
  • 28
  • 50
4
votes
1 answer

Configure Apache to redirect 404 errors to a location based on the requested path

Right now I have the following in my httpd.conf file: ErrorDocument 404 /index.html This works but I need an additional rule that will handle my debug path as well. For example, if I…
FoxMulder900
  • 143
  • 5
4
votes
3 answers

Can I detect when a client has disconnected from a CGI?

I have a rather resource intensive CGI that takes quite a long time to start sending data. We've seen quite a few cases where impatient people reload a couple of times, which then triggers additional runs of the CGI to be loaded, or cases where the…
Joe H.
  • 1,917
  • 12
  • 13
4
votes
1 answer

Understanding CPU% on Apache Extended Server Status

I just migrated an existing fairly high traffic website to a Digital Ocean droplet and I viewed the Apache extended server status page. It shows the information below. One thing I noticed is that the CPU is listed at 269% load. How can that be?…
smusumeche
  • 643
  • 4
  • 8
  • 19
4
votes
2 answers

How to remove request blocking on apache reverse proxy after failure of backend before asking backend again?

I am working on an apache2 reverse proxy vhost. When the server behind apache is down, the first request to apache shows the error page of course. But at subsequent requests it seems apache delays for some time before asking the backend server…
user12096
  • 927
  • 6
  • 23
  • 39
4
votes
1 answer

Completely getting rid of SSLv3 on Apache

Our security team is asking that we completely disable SSLv3 on some of our servers running Apache. I've used the SSLProtocol entry in the ssl.conf file (like SSLProtocol ALL -SSLv2 -SSLv3) and various SSLCipherSuite entries to try to disable this…
Stefan
4
votes
1 answer

Why does Apache/PHP not apply default ACL to file uploads?

We have Posix ACLs set up on our webserver and everything works fine EXCEPT for file uploads from a web browser in which case the default ACL is not applied. Any reasons why this might be happening or suggestions?
ChrisWiegman