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

What does an asynchronous server mean?

I am reading a journal, it stated Lighttpd is asynchronous server, and Apache2 is a process-based server. What does this actually mean? Which server will you recommend for RasPi in purpose of monitoring purposes. Thanks.
hellojoshhhy
  • 855
  • 2
  • 15
  • 32
2
votes
2 answers

Subversion: good practices to administrate users and groups with the repositories

How should I administrate users and groups with the repositories? Until now users can access the server repositories through http. The tag configuration it inside /etc/apache2/mods-available/dav_svn.conf DAV svn SVNPath…
PLS
  • 231
  • 2
  • 6
  • 14
2
votes
1 answer

Why do I get a 500 Internal Server Error on Ubuntu but it works on Raspberry Pi?

I'm getting the following error in my apache log file when trying to create and download a pdf from an apache2 server running on ubuntu. Running exactly the same programs on my raspberry pi is fine so I've clearly got something set up incorrectly…
HenryM
  • 5,557
  • 7
  • 49
  • 105
2
votes
0 answers

Siege [error] socket: connection timed out

I am developing a specific web application firewall which I am benchmarking to see the performance degradation when the firewall is enabled. I am using siege -c3 XXX.XXX.XXX.XXX but I get after 400 requests this error: [error] socket: -1311799552…
yoano
  • 1,466
  • 2
  • 16
  • 20
2
votes
2 answers

Apache2 service won't start in Ubuntu 15.10

I have installed apache2 but it's won't start, when i do sudo service apache2 start it's give me this problem Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and…
anonymous
  • 183
  • 2
  • 2
  • 9
2
votes
2 answers

VirtualBox: How to access virtual host on VM from host?

How to access from the host the Apache virtual domain created on virtual machine. Settings of the VM on VirtualBox: VM ubuntu/precise32 on VirtualBox created with vagrantfile from How to setup a LAMP development environment in Vagrant by Sanchit…
jaquar c
  • 31
  • 1
  • 4
2
votes
3 answers

my project in lamp not worked when i try to connect to database

i recently installed lamp on ubuntu and now i got problems with them (i think that can not connected to database) I did the following tests : i tested mysql with call phpMyAdmin and that's done : phpMyAdmin screanShot i tested php with phpInfo…
saman
  • 305
  • 2
  • 4
  • 17
2
votes
0 answers

PHP times out and Firefox crashes due to adding var_dump to code

I try to rewrite this Python code in PHP. Currently I'm debugging it and strange thing happens: when I add var_dump in the piece of code, where Apache2 error log reports: HP Fatal error: Call to a member function setext() on a non-object then…
r34
  • 320
  • 2
  • 12
2
votes
3 answers

Apache mod_wsgi instructions not being used

I have a server running Ubuntu Lucid 10.04.1 LTS server edition, which I want to deploy a Django app on using Apache + mod_wsgi. At the moment Apache does a directory index instead of using my WSGIScriptAlias command. Any tips why would be…
pfctdayelise
  • 5,115
  • 3
  • 32
  • 52
2
votes
1 answer

Redirect root HTTP to root HTTPS

I want that if someone visits http://domain.com that he is redirected to https://domain.com The .htaccess file is located at /var/www/html with the following content RewriteEngine On RewriteCond %{HTTPS} off …
Willi Mentzel
  • 27,862
  • 20
  • 113
  • 121
2
votes
1 answer

URL is appended to WSGI script's path, why?

I have a development server set up running Apache 2.2 with mod_wsgi. I have a test project and a webapp in development setup, and they half work. When I attempt to access something other than the project's landing page, Apache appends the rest of…
user13876
2
votes
1 answer

Run django in https://example.org/directory - python and php

I have a website https://example.org (HTTPS) with php, Apache2 . I need to run on the same server (Centos 6) a Django app. It is possible execute django app in https://example.org/my_django_app/? I can execute in a subdomain…
erajuan
  • 2,224
  • 20
  • 31
2
votes
2 answers

change default user of webserver for special directories

for example, if i'm using a php script that writes files, or using a cms , the files and folders that are generated are owned by a special user (f.e. www-data:www-data) is it possible to change this default user for special directories? so that for…
choise
  • 24,636
  • 19
  • 75
  • 131
2
votes
1 answer

Symfony 3.0 Apache Http Error 404 And Http Error 500 response

Hello fellows I try to deploy a sample code on Apache2 using Symfony 3.0. I have made a sample controller:
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
2
votes
1 answer

Redmine install Apache2 Bundler PermissionError

I am trying to install Redmine using this tutorial: I am unfamiliar with Ruby. Whenever I go to http://localhost/redmine or http://localhost/redmine/settings?tab=general in my browser I get a page with the message: We're sorry, but something went…
ThomasAFink
  • 1,257
  • 14
  • 25
1 2 3
99
100