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/008078.html | 176 ++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-September/008078.html (limited to 'zarb-ml/mageia-dev/2011-September/008078.html') diff --git a/zarb-ml/mageia-dev/2011-September/008078.html b/zarb-ml/mageia-dev/2011-September/008078.html new file mode 100644 index 000000000..52b62020d --- /dev/null +++ b/zarb-ml/mageia-dev/2011-September/008078.html @@ -0,0 +1,176 @@ + + + + [Mageia-dev] changing apache configuration handling + + + + + + + + + +

[Mageia-dev] changing apache configuration handling

+ Maarten Vanraes + alien at rmail.be +
+ Thu Sep 15 01:26:18 CEST 2011 +

+
+ +
Op donderdag 15 september 2011 00:34:39 schreef Renaud MICHEL:
+> 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
+
+personally i prefer debian-style layout (it's even easy to change this as it's 
+a configure flag).
+
+I would be all for moving to that kind of layout
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

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