[Cherokee] Cherokee with vbSEO/vBulletin

Tom Peach mail at tompeach.ch
Mon Nov 3 07:02:17 CET 2008


Hi All,
I am launching a new forum soon running vBulletin with vBSEO. I really
want to use Cherokee webserver since I find it considerably more
"tidy" than nginx and Lighty.

I'm struggling with rewrite rules for vBSEO. I know this has been
discussed previously but I didn't see any positive conclusion of the
thread.
http://www.mail-archive.com/cherokee@lists.octality.com/msg00038.html.

So here we go, http://www.shootingthecheese.ch/, rewrites are working
for me but for some reason images are not displaying.

I've used the lighty rules as internal redirects (substitution) in the
following order
1. "^/(sitemap.*\.(xml|txt)(\.gz)?)$" =>
"/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",

2. "^(/(admincp|modcp|clientscript|cpstyles|images|customavatars)/.*)$" => "$1",

3. "^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",

4. "^/(.+)\?(.*)$" => "/vbseo.php?$2",

5. "^/(.+)$" => "/vbseo.php"

If I remove rules 2 and 5 I get my images back but the rewrite for
forums breaks (when I remove 5). As I understand (I'm a novice at
this) rule 2 should basically rewrite the the URL as itself, this is
the one that should make my images accessible! It's strange because
the link to my admin cp works fine, but images don't.

Do you have any idea what is wrong with these rules? Getting my images
working is currently all that is standing between me and Cherokee :-(

I've attached my cherokee.conf, any help or advice you can offer would
be greatly appreciated.

Best Regards,
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cherokee.conf
Type: application/octet-stream
Size: 16625 bytes
Desc: not available
Url : http://lists.octality.com/pipermail/cherokee/attachments/20081103/07b2a6e0/attachment.obj 


More information about the Cherokee mailing list