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

Optimal values for ServerLimit, MaxClients, MaxRequestsPerChild directives

I'm running a traffic intense site plenty of dynamic content, mostly user-generated. The server is a dedicated one and has a total of 4 Intel(R) Xeon(R) CPU X3210 @ 2.13GHz proccesors. I need to know to optimal values for ServerLimit and MaxClients…
andreszs
  • 709
  • 1
  • 6
  • 16
30
votes
5 answers

How can I install Apache with a specific version?

Because of Ubuntu updating, I made the mistake to upgrade Apache 2.2 to 2.4—many things went wrong. I have no idea how to specify the version after apt-get remove apache2. apt-get install apache2 always installs 2.4. How can I do it?
Mithril
  • 503
  • 1
  • 7
  • 10
30
votes
5 answers

What is the meaning of "AH00485: scoreboard is full, not at MaxRequestWorkers"?

My Environment CentOS 6.4 X86_64 Apache 2.4.4 PHP 5.4.16 (FPM) 2 Intel Xeon E5-2620 @ 2.00GHz (8 core, 16 threads in each processor) 48GB RAM registered memory. 3 Hard Disk 15RPM 145GB in RAID0 (by BIO Interesting Variables
Jose Nobile
  • 461
  • 1
  • 5
  • 14
30
votes
4 answers

.htaccess is ignored even though VirtualHost has "AllowOverride All"

I'm running a LAMP server on Fedora 13 that's working fine; however, I just added an ".htaccess" file to my current site's docroot folder that is being completely ignored. I've tried half a dozen different tests, including this one: RewriteEngine…
Brian Lacy
  • 1,113
  • 4
  • 15
  • 23
30
votes
3 answers

Alternatives to apache benchmark?

I'd like some tools for ubuntu that I can use to test my server, how much it can handle. Any suggestions? I've used apache benchmark before, but I'd like to try out something else. (As a side question, does apache benchmark work if I'm only using…
Matthew
  • 1,859
  • 4
  • 22
  • 32
30
votes
3 answers

Apache vs Nginx

I have been investigating the differences between Apache and Nginx recently and am confused about which I should choose. I have done some searching but there is no definitive comparison between the two and I was wondering if someone here could give…
Sammaye
  • 719
  • 1
  • 8
  • 16
28
votes
3 answers

Should I activate keepAlive in Apache2?

In any default installation, Apache 2 comes with keepAlive off, but looking at another server, the keepAlive module was turned on. So, how do I know if keepAlive is right for me? Where can I find some good examples about configure this?
Gabriel Sosa
  • 1,220
  • 1
  • 13
  • 13
28
votes
1 answer

Why am I getting an "Invalid command 'ProxyPass'" error when I start my Apache 2.2 server?

I'm having trouble getting Proxying working in Apache 2.2 When I try to start it, I get an Invalid command 'ProxyPass' error. that would be indicative of proxy_http_module not being loaded. However when I look at the debug, it seems to be there.…
BIBD
  • 1,866
  • 10
  • 30
  • 44
28
votes
9 answers

Apache2 Proxy timeout

I have Apache2 with PHP + PHP-FPM configured according to: http://wiki.apache.org/httpd/PHP-FPM I am writing a script that will take a long time to execute on an internal Vhost, but keep getting timed out, everything runs flawlessly if the script…
wyqydsyq
  • 395
  • 1
  • 3
  • 9
28
votes
4 answers

Include files in Apache HTTP Server Version 2.2 httpd.conf

I have a large httpd.conf file, most of which is virtual hosts. Is there a way to make a file, say virtual_hosts.conf, and include it from httpd.conf? I've googled a bit, but can't seem to find much as far as includes, just module loading.
Josh
  • 425
  • 1
  • 5
  • 13
28
votes
3 answers

Apache Proxy TimeOut

I am trying to understand what is happening with the following message in our Apache 2.2 error_log: Wed May 18 21:03:29 2011] [error] [client 172.20.10.10] (70007)The timeout specified has expired: proxy: error reading status line from remote server…
roacha
  • 447
  • 1
  • 6
  • 9
28
votes
6 answers

How to check on which port apache is running

Is there any command to find out if apache is running or not. and on which port except by seeingports.conf files When i try netstat command then apaches does not appear in that. but when i use apache2 restart command then it says restart ok i don't…
John
27
votes
2 answers

How many processes should I specify in a WSGIDaemonProcess while running Django through mod_wsgi?

Let's say I have 2 sites(Superuser and Serverfault) running from their own Apache virtual host on one box. The 2 sites are powered by Django and are running on Apache with mod-wsgi. A typical configuration file for one of the site will look like…
Thierry Lam
  • 6,261
  • 10
  • 27
  • 24
27
votes
2 answers

kworker consuming +90% IO and zero disk write

this is a standard apache web server on AWS Linux AMI + EBS. We are noticing high load average (+8) and iotop -a shows: Total DISK READ: 0.00 B/s | Total DISK WRITE: 2.37 M/s TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND …
user2383712
  • 371
  • 1
  • 3
  • 4
27
votes
5 answers

Conflict between SNI and HTTP provided domains

I have recently moved a WordPress website with a small store from a hosting provider to a server of my own running Ubuntu Server 12.04.2 LTS and Apache 2.2.22. I require SSL for the store. I set up a couple of simple vhosts on a new IP for the…
flickerfly
  • 2,753
  • 3
  • 25
  • 27