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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]