Ticket #72 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

eaccelerator.filter setting not working

Reported by: JoHnY Assigned to: somebody
Priority: major Milestone: 0.9.5
Component: eAccelerator Version: 0.9.5
Keywords: filter Cc:

Description

I have noticed that the ini setting eaccelerator.filter doesn't work at all. I have my server configured so that it parses .html as php files but I wanted to disable caching of such files, so I have put !*.html in eaccelerator.filter. It didn't help, .html files still get cached. I have also tried to put "*.php" in the setting, so only *.php files would be cached, but still, it did not help. On the top, I have even spoted one .txt file in the cache which is not set to parse as php at all. PHP 5.1.2, Apache 1.3.34, eAccelerator 0.9.5 beta2

Change History

05/02/06 22:29:17 changed by anonymous

try use double slash: "!*\\help\\*

05/04/06 21:21:29 changed by JoHnY

I don't understand. I don't use any slashes in the filter, why should I put slashes anywhere? I used exactly the same format as the example in the documentation '(for example "*.php *.phtml")' So, what's the problem?

05/08/06 16:16:11 changed by bart

  • status changed from new to closed.
  • resolution set to fixed.

There was some strange stuff going on with that functions. I rewrote the way the filter was used and now it should work like it's documented. You can get a snapshot with this fix from: http://snapshots.eaccelerator.net/eaccelerator-svn209.tar.gz