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
5
votes
6 answers

Web Designer Permissions on a Production Web Server

Just started working with a small group of front-end web developers who all login to the dedicated WHM/Apache production server with root to modify client web sites. They claim they do not want to have to log into each of the individual site…
Michael Scott
5
votes
8 answers

Hanging page loads every n loads

I recently moved my site to a new server (Apache 2, PHP5, MySQL5). The site is an Invision based forum. Every few posts / topics it just hangs. The data has been written because if you stop and reload, the post / thread is there. I thought it was a…
Christian
  • 789
  • 1
  • 13
  • 31
5
votes
3 answers

How would I recognize the "spoon-feeding problem" on a dynamic webapp server?

The "spoon-feeding problem", as it was recently explained to me, happens when connections to your application server are tied up feeding data across slow network connections to your clients. This makes sense to me and now I understand the…
5
votes
2 answers

Apache + PHP in paths with accented letters

I'm not able to run a PHP enabled web site under Apache on Windows XP if the path to DOCUMENT_ROOT contains accented letters. I'm not referring to the script file names themselves but to any folder in the path components. I have this virtual host…
Álvaro González
  • 245
  • 3
  • 7
  • 25
5
votes
2 answers

WebDav rename fails on an Apache mod_dav install behind NginX

I'm trying to solve a problem with renaming files over WebDav. Our stack consists of a single machine, serving content through Nginx, Varnish and Apache. When you try to rename a file, the operation fails with the stack that we're currently…
heymatthew
  • 187
  • 2
  • 6
5
votes
7 answers

how to change port number of Apache server in windows OS

I have installed xampp control panel and Apache 2.2 on windows XP when I type http://localhost/ gives me page which says It Works! Now, I want to change the port number 80 to some other number How to change it ? in how many files does it needs to…
jesop
5
votes
2 answers

Should I use TCP or UDP to run a web server

I have just installed Apache web server on my computer. I have managed to use it locally (I can open index.php from my computer using my web browser). But I would like to make my web site available publicly. I found out that for that I need to open…
Roman
  • 2,569
  • 10
  • 32
  • 32
5
votes
4 answers

Virtual hosts on same ip AND port

Is this even possible? My current vhost.conf entries: ServerAdmin example@example.com DocumentRoot "C:/xampp/htdocs/b-page" ServerName b-page ServerAlias www2.b-page.lv ErrorLog…
5
votes
3 answers

Apache "No Permission" - 403 forbidden

I've accidentally performed a wrong chown update this morning and now my /var/www permissions are all wrong. I'm unable to access anything anymore, apache will always say I do not have permission to view this page, like: You don't have permission…
Jelle De Loecker
  • 1,094
  • 6
  • 17
  • 30
5
votes
6 answers

Apache, nginx, or lighttpd?

I am going to be live blogging from an event and expect huge spikes in traffic. I am currently using apache with modphp and it died last year under heavy traffic and I don't want it to happen again. I am thinking of setting up a separate VPS for…
vk123
5
votes
4 answers

Preventing vulnerability scripts from scanning apache server

Quick question for you all - fairly frequently in my httpd logs I see things like this: 66.11.122.194 - - [29/Jan/2010:11:06:44 +0000] "GET HTTP/1.1 HTTP/1.1" 400 418 "-" "Toata dragostea mea pentru diavola" 66.11.122.194 - - [29/Jan/2010:11:06:44…
user32616
5
votes
2 answers

How can I set use mod_proxy_ajp with Apache and Tomcat?

I'd like to run Apache and Tomcat on an RHEL 5 server with Apache handling Ruby on Rails apps (through mod_rails/Passenger) and Tomcat handling Java apps. Under Apache, each Rails app will have a URL and vhost. The URLs are already configured in our…
Agvorth
  • 2,459
  • 4
  • 29
  • 29
5
votes
2 answers

Broken URL rewriting on Django/modwsgi setup

I am trying to setup my Django app to run under Apache with modwsgi. I have defined the following virtualhost: ServerName www.domain.com ServerAlias domain.com WSGIScriptAlias / /home/domain/apache/django.wsgi …
user31196
5
votes
1 answer

Correct PHP5 DLL for Apache 2.2?

I have installed Apache 2.2.14 (Win32) on a Windows XP machine and am trying to add the latest PHP module. I downloaded the ZIP file from here labeled "VC9 x86 Non Thread Safe" and extracted to my Apache directory. I then copied php5.dll to Apache's…
Nathan Long
  • 1,545
  • 7
  • 22
  • 38
5
votes
1 answer

What is httpd.exp used for?

In the directory /usr/local/apache2/modules, I see the single file httpd.exp. What is the purpose of this file?
stalepretzel
  • 834
  • 4
  • 15
  • 19