From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-September/008077.html | 120 ++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-September/008077.html (limited to 'zarb-ml/mageia-dev/2011-September/008077.html') diff --git a/zarb-ml/mageia-dev/2011-September/008077.html b/zarb-ml/mageia-dev/2011-September/008077.html new file mode 100644 index 000000000..2bd17d9f3 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-September/008077.html @@ -0,0 +1,120 @@ + + + + [Mageia-dev] changing apache configuration handling + + + + + + + + + +

[Mageia-dev] changing apache configuration handling

+ Renaud MICHEL + r.h.michel+mageia at gmail.com +
+ Thu Sep 15 00:34:39 CEST 2011 +

+
+ +
Hello
+On mercredi 14 septembre 2011 at 10:06, Guillaume Rousse wrote :
+> So, we have the following choice:
+> - change current behaviour, by keeping conditionals in configuration 
+> file. To use php, you have to install mod_php, and add -DHAVE_PHP5 in 
+> /etc/sysconfig/httpd. This means additional configuration is required, 
+> but also possibility to temporary disable without uninstalling.
+> 
+> - keep current behaviour, by removing conditionals in configuration 
+> file. This means no additional configuration needed, but also than 
+> installing implies usage.
+
+How about the way it works on debian?
+
+Their apache2.2-common package, which contains all the base configuration 
+files, has a mods-available and a mods-enabled dirs in the apache conf dir 
+(/etc/apache2 for debian).
+Modules load command and specific configuration (if needed) are provided as 
+*.load and *.conf files in the mods-available dir, then the a2enmod command 
+is used to enable (and its counterpart e2dismod disables them) some mods by 
+creating symlink in the mods-enabled dir.
+The main apache2.conf file then has
+Include mods-enabled/*.load
+Include mods-enabled/*.conf
+to load the actually enabled mods.
+a2enmod also knows about modules dependencies via special comments in the 
+*.load files.
+
+Then there is a similar mechanism for sites installed by packages with 
+sites-available and sites-enabled directories and a2ensite a2dissite 
+commands.
+
+see
+http://packages.debian.org/squeeze/apache2.2-common
+http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENMOD
+http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENSITE
+
+-- 
+Renaud Michel
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1