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
3 answers

Apache on multiple servers with one config

I want to replicate my virtual machine and put it behind a load balancer. Apache1 Apache2 ....ApacheN | | | ------------------------- LoadBalancer I'd like to use only ONE configuration file for virtual hosts (actually…
Glasnhost
  • 591
  • 4
  • 10
  • 20
4
votes
2 answers

modsecurity apache mod-security.conf missing

Greetings Serverfaultians. I'm not a server guy as you can see from my noob score of 1 point. But maybe those more versed can help me. I'm using Ubuntu v13.10 32-bit Server and Apache2 v2.4.6 and I'm trying to set up and configure modsecurity and…
James
  • 185
  • 1
  • 7
4
votes
1 answer

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: RequestReadTimeout header=5-20,minrate=20 I installed mod_qos…
lucas47
  • 41
  • 3
4
votes
1 answer

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 Apache. Somehow I should be able to easily find…
Sleepy
  • 41
  • 2
4
votes
9 answers

384 MB enough for a starter VPS?

I'm considering to rent a VPS with 384 MB memory. It would run on CentOS and would have cPanel with Apache 2 / MySQL and Phusion Passenger with nginx / sqlite. What do you think, will it have enough memory? It would serve around 10 small traffic…
James
4
votes
2 answers

Relation between PHP-FPM settings and mpm_worker (Apache)

I've a site running Magento on the following setup: Apache 2.4 with mpm_worker PHP-FPM Total RAM in server: 14GB (10GB avilable to Apache/PHP) Each PHP-FPM process consumes approximately 80MB of RAM. I want to fine tune the settings for PHP-FPM…
JanC
  • 153
  • 1
  • 5
4
votes
1 answer

SNI error over SSL on some Android devices

I am getting an SNI error: Hostname X provided via SNI, but no hostname provided in HTTP request On some Android phones when making SSL requests to my domain. This is despite ensuring that the Host header is set on the client. I have also tried…
JordanC
  • 141
  • 2
4
votes
1 answer

Heartbleed, which specific services must be restarted?

Trying to figure out exactly what services should be restarted after patching openssl against Heartbleed. At least one post mentions restarting: sshd, apache, nginx, postfix, dovecot, courier, pure-ftpd, bind, mysql Is there a command that can be…
xref
  • 273
  • 3
  • 14
4
votes
1 answer

How to trace high CPU Apache process to particular virtualhost

Looking at the output of top I notice that intermittently there are one or two Apache processes consuming a high amount of CPU - anywhere between 50% - 90% The spikes in CPU usage come and go quite quickly every 10 seconds or so. There are various…
MrCarrot
  • 345
  • 1
  • 4
  • 13
4
votes
2 answers

98% cpu usage on ubuntu server running apache, site is unresponsive

I run a server with apache2 on an ubuntu box. It is a crypto mining pool. Everything was running normal even with the large inflow of people accessing our site. Then out of nowhere our cpu usage across all 8 cores is at 98 to 100% I use a reverse…
4
votes
2 answers

Which Linux distro should I use for Apache, mod_wsgi, Python, Django, PostgreSQL deployment?

Currently we are running CentOS for our production servers. Wer're deploying Django projects with Apache 2.2, mod_wsgi and PostgreSQL. We are in the process of making Python 2.5 the default version. However, this version is not in the standard…
Bram
  • 51
  • 3
4
votes
1 answer

Apache fails to start with new ssl certificate

I'm running RHEL 6.4 and my trusted certificate has expired recently, so I decided to renew it. I've obtained a new certificate from StartSSL. After downloading and putting the certificate file on the server, I specified the new certificate in…
heximal
  • 175
  • 1
  • 8
4
votes
1 answer

Apache upgrade strategy

I'm on CentOS 6.5 and Apache 2.2.15. I wanted my httpd to be up to date so I did: yum update httpd After that it is still version 2.2.15, but latest version is 2.2.22. I also see security updates between 2.2.15 and 2.2.22. I would like to know if…
rumburak
  • 289
  • 3
  • 16
4
votes
3 answers

How can I synchronize 2 web server files with load balance?

I need to setup a website with load balance to accommodate more visitors, I've seen on forums that varnish(balance)->apache(web1&2)->mysql(dbserver) is the way to go. I know how to setup varnish->single webserver->mysql but not two web server to…
shinmac
  • 73
  • 1
  • 2
  • 5
4
votes
1 answer

Why is my apache log missing information?

I have a SSL-enabled Apache server which utilizes rotate log to archive the log files. The problem is that when the logs are "rotated", some information get lost... For example, all authenticated user names are missing. ssl_access_log will…
up270
  • 41
  • 1
  • 3
1 2 3
99
100