httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46375] New: SetHandler documentation doesn't correspond to real behaviour.
Date Wed, 10 Dec 2008 15:26:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46375

           Summary: SetHandler documentation doesn't correspond to real
                    behaviour.
           Product: Apache httpd-2
           Version: 2.2.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: i.galic@brainsware.org


It says in http://httpd.apache.org/docs/2.2/mod/core.html#sethandler

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

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
</FilesMatch>

<VirtualHost 127.0.0.1:8006>
    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
        </Files>
    </Directory>
</VirtualHost>


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message