[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 Apache2 Configuration under Debian GNU/Linux 2 ============================================ 3 4 Debian's default Apache2 installation attempts to make adding and 5 removing modules, virtual hosts, and extra configuration directives as 6 flexible is possible, in order to make automating the changes and 7 administering the server as easy as possible. 8 9 Files and Directories in /etc/apache2: 10 ------------------------------------- 11 12 apache2.conf 13 14 This is the main configuration file. 15 16 conf.d/ 17 18 Files in this directory are included by this line in 19 apache2.conf: 20 21 # Include generic snippets of statements 22 Include /etc/apache2/conf.d 23 24 This is a good place to add additional configuration 25 directives. 26 27 httpd.conf 28 29 Empty file. 30 31 magic 32 33 Magic data for mod_mime_magic Apache module, documented in 34 htdocs/manual/mod/mod_mime_magic.html. You probably don't 35 need to touch this. 36 37 mods-available/ 38 39 This directory contains a series of .load and .conf files. 40 The .load files contain the Apache configuration directive 41 necessary to load the module in question. The respective 42 .conf files contain configuration directives necessary to 43 utilize the module in question. 44 45 mods-enabled/ 46 47 To actually enable a module for Apache2, it is necessary to 48 create a symlink in this directory to the .load (and .conf, if 49 it exists) files associated with the module in 50 mods-available/. For example: 51 52 cgi.load -> /etc/apache2/mods-available/cgi.load 53 54 ports.conf 55 56 Configuration directives for which ports and IP addresses to 57 listen to. 58 59 sites-available/ 60 61 Like mods-available/, except it contains configuration 62 directives for different virtual hosts that might be used with 63 apache2. Note that the hostname doesn't have to correspond 64 exactly with the filename. 'default' is the default host. 65 66 sites-enabled/ 67 68 Similar in functionality to mods-enabled/, sites-enabled 69 contains symlinks to sites in sites-available/ that the 70 admnistrator wishes to enable. 71 72 Example: 73 dedasys -> /etc/apache2/sites-available/dedasys 74 75 Tools 76 ----- 77 78 Currently, a2enmod and a2dismod are available for enabling and 79 disabling modules utilizing the above configuration system. 80 81 a2ensite and a2dissite have been added, which do essentially the 82 same thing as the above tools, but for sites rather than modules.
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |