Custom Query (312 matches)


Show under each result:

Results (43 - 45 of 312)

Ticket Resolution Summary Owner Reporter
#263 duplicate Cache filters moo bluemamba

Your XCache is fantastic! Still, as any fantastic job, IMHO it needs the cherry on top.

It will be out of this world if you could provide an option to filter some of the files/folders from caching. something like:

xcache.filter = |*allreadycached* *cacheable*

where: |*allreadycached* : exclude *cacheable* : include

#70 invalid Authentication fails (user and password garbled in xcache.c::xcache_admin_auth_check()?!) moo blueyed

I've just rebuilt PHP_5_2 and XCache from the 1.2 branch, but now the authentication for the admin pages fails.

I've added:
--- xcache.c    (Revision 357)
+++ xcache.c    (Arbeitskopie)
@@ -1558,6 +1558,8 @@
                pass = NULL;

+               php_error_docref(NULL TSRMLS_CC, E_ERROR, "user: %s, password: %s", user, pass);
+               zend_bailout();
        if (user != NULL && pass != NULL && strcmp(admin_user, Z_STRVAL_PP(user)) == 0) {
                PHP_MD5_CTX context;
                char md5str[33];

And get something like:

Fatal error: xcache_count() [<a href='function.xcache-count'>function.xcache-count</a>]: user: äñT·`òT· ñT·\ÜT·, password: HòT·°òT·üñT·øàT· in /var/www/web7/web/xcache-admin/xcache.php on line 100
(The "binary blob" does change after a few request!)

Dumping $_SERVER itself in PHP does show the correct values for PHP_AUTH_USER and PHP_AUTH_PW.

I've configured XCache with just "./configure --enable-xcache --with-php-config=/usr/local/php52-fcgi/bin/php-config"

SVN trunk shows the same behaviour.

Maybe it's normal that the user/pass gets displayed as binary blob, when displayed like I've done it - but I would not expect it to change when I press F5 in the browser.

#91 fixed Wrong INI rename: xcache.admin.enable_auth should be xcache.admin.auth (according to doc) moo blueyed

It says """new: xcache.admin.auth = On""", but uses """STD_PHP_INI_BOOLEAN("xcache.admin.enable_auth",...""".

I'm refering to r368

Note: See TracQuery for help on using queries.