httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoshiki Hayashi <>
Subject Configuration of /manual in httpd-2.1 httpd-std.conf
Date Mon, 16 Jun 2003 06:09:39 GMT
Yesterday, I installed 2.1 to see how it works w.r.t the

While I was cut and pasting type-map stuff from new
configuration, I noticed that all configurations for
/usr/local/apache2/manual is enclosed with <IfModule
mod_alias.c>.  It looks like this (irrelevant part is

<IfModule mod_alias.c>
    AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "@exp_manualdir@$1"

    <Directory "@exp_manualdir@">
        Options Indexes
        AllowOverride None
        Order allow,deny
        Allow from all

        AddHandler type-map .html
        <Files *.html.*>
            RemoveHandler .html

        SetEnvIf Request_URI ^/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1
        RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2

I think this is not very desirable as you'll be unable to
browse HTTPD manual if your server disabled mod_alias.  If I
understand it correctly, mod_alias is only necessary for
lanuange links to work.  So I'd like to suggest moving out
type-map configuration out of IfModule.

BTW, what is the policy of IfModule usage?  It looks a bit
inconsistent.  There's IfModule mod_setenvif.c later in the
configuration but above SetEnvIf is not enclosed with
IfModule directive.

Yoshiki Hayashi

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message