From: php at henke37 dot cjb dot net
Operating system: any
PHP version: 6CVS-2007-02-15 (CVS)
PHP Bug Type: Apache2 related
Bug description: filter sapi does not register any highlightning filter

Description:
------------
The apache2 sapi does not provide an easy way to invoke the file
highlighter as an normal filter.

Reproduce code:
---------------
Apache config example:
SetOutputFilter PHP-highlight

Expected result:
----------------
It should work and highlight the files that the config line applies to.

Actual result:
--------------
It will cause apache to not accept the config complaining about the filter
not known

--
Edit bug report at [url]http://bugs.php.net/?id=40499&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40499&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40499&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40499&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40499&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40499&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40499&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40499&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40499&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40499&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40499&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40499&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40499&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40499&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40499&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40499&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40499&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40499&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40499&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40499&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40499&r=mysqlcfg[/url]