Questions tagged [apache2]

Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.

The Apache HTTP Server, commonly referred to as Apache ( /əˈpætʃiː/), is web server software notable for playing a key role in the initial growth of the World Wide Web. In 2009 it became the first web server software to surpass the 100 million website milestone.
Apache was the first viable alternative to the Netscape Communications Corporation web server (currently known as Oracle iPlanet Web Server), and has since evolved to rival other web servers in terms of functionality and performance. Typically Apache is run on a Unix-like operating system.

Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. The application is available for a wide variety of operating systems, including , GNU, FreeBSD, , , Novell NetWare, AmigaOS, Mac OS X, Microsoft , OS/2, TPF, and eComStation. Released under the Apache License, Apache is characterized as open-source software.

Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Some common language interfaces support , , , and . Popular authentication modules include mod_access, mod_auth, mod_digest, and mod_auth_digest, the successor to mod_digest. A sample of other features include SSL and TLS support (mod_ssl), a proxy module (mod_proxy), a URL rewriter (also known as a rewrite engine, implemented under mod_rewrite), custom log files (mod_log_config), and filtering support (mod_include and mod_ext_filter).
Popular compression methods on Apache include the external extension module, mod_gzip, implemented to help with reduction of the size (weight) of web pages served over HTTP. ModSecurity is an open source intrusion detection and prevention engine for web applications. Apache logs can be analyzed through a web browser using free scripts such as AWStats/W3Perl or Visitors.

Virtual Hosting allows one Apache installation to serve many different actual websites. For example, one machine with one Apache installation could simultaneously serve www.example.com, www.test.com, test47.test-server.test.com, etc.
Apache features configurable error messages, -based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs). It supports password authentication and digital certificate authentication. Apache has a built in search engine and an authorizing tool and supports .

Although the main design goal of Apache is not to be the "fastest" web server, Apache does have performance comparable to other "high-performance" web servers. Instead of implementing a single architecture, Apache provides a variety of MultiProcessing Modules (MPMs) which allow Apache to run in a process-based, hybrid (process and thread) or event-hybrid mode, to better match the demands of each particular infrastructure. This implies that the choice of correct MPM and the correct configuration is important. Where compromises in performance need to be made, the design of Apache is to reduce latency and increase throughput, relative to simply handling more requests, thus ensuring consistent and reliable processing of requests within reasonable time-frames.

The Apache version considered by the Apache Foundation as providing high-performances is the multi-threaded version which mixes the use of several processes and several threads per process.

Unless you are asking about how to write Apache modules, questions with this tag probably belong on serverfault.com rather than stackoverflow.com.

Reference

7951 questions
2
votes
1 answer

Returning 100-Continue from PHP/Apache

I'm trying to find a way to prevent a script uploading unnecessary data to a PHP script. I had originally tried to kill the incoming read connection which is obviously against the HTTP protocol and I couldn't make it work but I have been researching…
JWood
  • 2,804
  • 2
  • 39
  • 64
2
votes
0 answers

Google Page Speed for WAMP

I am looking to install google page speed extension for apache in WAMP.
Imran Naqvi
  • 2,202
  • 5
  • 26
  • 53
2
votes
0 answers

FastCGI: incomplete headers (0 bytes) received from server caused by idle timeout

Hi guys im having this issue on my server i get Internal Server Error afther i reach more than 550 users online on my xenforo forum im owning a powerfull Dell PowerEdge R530 server it comes w 32 core Xeon and 30 GB ram 2 TB SAS HDD.SO: Debian this…
Tokio_Alive
  • 21
  • 1
  • 3
2
votes
1 answer

.htaccess in subdirectory - how to use RewriteBase

I'm trying the following. I have this directory structure, which is available in our network at IP address xxx.xxx.xxx.xxx root -dir1 -dir2 -dir3 Now in my dir1-folder, I have a site that uses the following .htaccess file RewriteEngine…
chaensel
  • 183
  • 3
  • 15
2
votes
1 answer

angular 2 file upload 401 unauthorized (CORS)

I am getting an error "401 Unauthorized" in Chrome and Firefox, when uploading files with angular 2 CLI to an apache2-server. The backend of the server is in PHP. I've tried it with three different node modules, all behave the same. I'm getting the…
whatever
  • 21
  • 4
2
votes
1 answer

Running PHP on Windows with Apache2

I am new to PHP and have been trying to get a PHP application setup on Windows. I have installed MySql5.1, Apache2.2 and PHP5.2.14 on Windows Server 2008. I can login into MySql no problem and I can run phpinfo from htdocs in apache and get the php…
abarr
  • 1,140
  • 3
  • 13
  • 28
2
votes
1 answer

Varnish:503 Backend fetch failed / Varnishlog says: FetchError No backend

EDIT(1): The ".timeout" value does not seem to have any effect. The "503 Backend fetch failed" error is displayed immediately Original Explanation: I am quite new with varnish. Any help is appreciated. I keep getting the below error every time I try…
Preethi
  • 73
  • 1
  • 6
2
votes
1 answer

/usr/sbin/apachectl: line 92: 10747 Segmentation fault: 11 $HTTPD "$@"

Cannot start apache on mac ox x 10.13. /usr/sbin/apachectl: line 92: 10747 Segmentation fault: 11 $HTTPD "$@"
Anurag Jain
  • 461
  • 2
  • 8
  • 21
2
votes
1 answer

Apache does not compile php

I just installed a fresh ubuntu system from here (mini.iso) I choosed no extras at all during the installation process. These are all the commands which I have executed this far: (Ignore 4 - 8) Now I wrote a simple PHP test script…
Black
  • 18,150
  • 39
  • 158
  • 271
2
votes
2 answers

Error 403 (Forbidden) at user's encrypted public_html directory

I have a clean installation of Ubuntu 10.10 for my new workstation. I used tasksel to install lamp-server. I then enabled userdir module using a2enmod utility. that loads a conf file /etc/apache2/mods-enabled/userdir.conf
Shoaib Nawaz
  • 2,302
  • 4
  • 29
  • 38
2
votes
0 answers

Slim application 404 error with multiple .htaccess

I'm trying to install an application based on the slim micro-framework on my local server (LAMP) but there is a redirection problem in the configuration. The project architecture is as followed : project -/admin -/app -/config …
Gauthier
  • 1,116
  • 2
  • 16
  • 39
2
votes
1 answer

Apache - Mod Perl - Unknown Authz provider 'access'

I am trying to set up and run an old Web application(written in 2010) in a new Linux environment. The Apache server is not starting because of the error Unknown Authz provider access, caused by the configuration given below.
Diode
  • 24,570
  • 8
  • 40
  • 51
2
votes
2 answers

URLError: urlopen error timed out

Whenever i try to make a HTTP request to some url through my django application which is running on top of apache mod_python (Machine: Ubuntu 10.04 server edition, 64-bits), it gives a timeout error. The strange thing is that it works fine on Ubuntu…
aatifh
  • 2,317
  • 4
  • 27
  • 30
2
votes
1 answer

What do these numbers before and after mason responses mean?

I am using mod_perl 2, mason, and apache 2.2 on Ubuntu 10.10 (x86) (standard packages from apt). When I send a HTTP request to my server, I get the following: $ nc localhost 80 < ~/Desktop/test.http HTTP/1.1 200 OK Date: Mon, 22 Nov 2010 00:32:02…
Joe Bane
  • 1,556
  • 1
  • 15
  • 30
2
votes
1 answer

File-Access-Control with mod_rewrite

I want to limit access to files in Apache. A list of restricted files should be variable. If a file access is restricted and a specific cookie is not found, the user should be redirected to a website (with possibility to aquire the cookie) - if it…
Daniel Marschall
  • 3,739
  • 2
  • 28
  • 67