httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46375] New: SetHandler documentation doesn't correspond to real behaviour.
Date Wed, 10 Dec 2008 15:26:23 GMT

           Summary: SetHandler documentation doesn't correspond to real
           Product: Apache httpd-2
           Version: 2.2.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation

It says in

"You can override an earlier defined SetHandler directive by using the value

However that does not correspond to my experience:

# Server Context:
<FilesMatch \.php$>
        SetHandler application/x-httpd-php
        AddType text/html .php
        AddType application/xhtml+xml;qs=0.8 .php

    ServerName http://somevhosthere:80
    DocumentRoot    /srv/web/somevhosthere/htdocs
    php_admin_value open_basedir /srv/web/somevhosthere/:/usr/share/pear/
    php_admin_value session.save_path /srv/web/somevhosthere/session/
    php_admin_value upload_tmp_dir /srv/web/somevhosthere/tmp/
    <Directory /srv/web/somevhosthere/htdocs/contents>
        SetHandler None                      # Does not work
        RemoveHandler php .php phps .phps    # Does not work
        php_admin_flag engine off            # Does not work
        AllowOverride None
        <Files *.php>
                SetHandler none              # Works

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message