[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#589638: apache2: Generally useful options currently set in sites-available/default should be moved to included file



Package: apache2
Version: 2.2.3-4+etch5
Severity: wishlist

Debian includes quite a lot of useful default settings in sites-available/default and sites-available/default-ssl. It would be great if those
settings were includable by other virtual host files in sites-available. That way users could build on the sane defaults set by the debian
maintainers instead of having to copy and paste useful additions like:

BrowserMatch ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

into their own virtual host files. Currently users have to check for new settings in the default files, but it would be nice if the new defaults
would be applied automatically after an upgrade.

A different approach, instead of including the defaults, would be to provide utilities like a2ensite but for virtual host configurations. By
using the tool, a user should be able to add a configuration snippet to be applied *within* a configured virtual host defined in a 
sites-enabled file. That way the user would not have to touch the default-ssl configuration file and would benefit from changes to the file
automatically. One would probably have to rely on something like "Include ../vhostconf-enabled/default-ssl_*.conf" or have one directory
per virtual host to read configuration snippets from.


-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9-023stab048.6-enterprise
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork        2.2.3-4+etch5 Traditional model for Apache HTTPD

apache2 recommends no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_GB.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory



Reply to: