Re: [APC-DEV] Feature request: ability to filter out entire directories/folders

From: Date: Wed, 10 Dec 2008 19:11:49 +0000
Subject: Re: [APC-DEV] Feature request: ability to filter out entire directories/folders
References: 1  Groups: php.apc.dev 
Request: Send a blank email to php-apc-dev+get-168@lists.php.net to get a copy of this message
Ron Peled wrote: > I would like to suggest a new feature: ability to exclude php files from > entire folders. This is useful when we have limited RAM on the host > machine and would then like to exclude the admin panels for the CMS or > blogging software installed on the system. At the moment the filtering > parameter only looks at the file name and ignores the folder or the full > path - hence there is no real way to achieve this setup. > > I hope this is posted in the right place, otherwise let me know where > and I appologize. apc.filters take a regex that is matched against the fullpath filenames. Here is an example: apc.filters="\/var\/www\/apc\/.*,\/var\/www\/dot\/.*,\/var\/www\/squirrelmail\/.*,\/var\/www\/yui\/.*,\/var\/www\/g2data\/cache\/.*" This filters out a bunch of entire directories. -Rasmus

« previous php.apc.dev (#168) next »