google-code-export / rsslounge

Automatically exported from code.google.com/p/rsslounge
1 stars 1 forks source link

Doesn't work with Cherokee web server #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's not possible to use rsslounge with Cherokee web server because it doesn't 
use .htacess but handlers : 
http://www.cherokee-project.com/doc/modules_handlers.html
It would be nice to use rsslounge on this great web server.

Original issue reported on code.google.com by liberd...@gmail.com on 13 Jul 2011 at 9:13

GoogleCodeExporter commented 9 years ago
I've managed to get it running under my Cherokee :

It's a dirty hack : 
on Files System in rsslounge root folder : 
ln -s public/big-favicon.png
ln -s public/favicon.ico
ln -s public/javascript
ln -s public/robots.txt
ln -s public/stylesheets

^^ all of this can be handled in cherokee rewrite but it was quicker for me 
like that

then I have my installation under http://example.com/r directory
I've created a behaviour rule for that site: (Directory /r AND (NOT File 
exists))
it has a handler set to Redirect and these internal redirect rules : 

/r/plugins/([^/]+)/(.*)$           /r/plugins/$1/public/$2
/r/favicons/(.*)$                 /r/data/favicons/$1
/r/thumbnails/(.*)$                /r/data/thumbnails/$1
(.+)                           /r/index.php?mod_rewrite=1&$1

I've also removed the mod_rewrite test from install.php file in updates/ and 
you also need *.php handler specified in your cherokee ( very few doesn't ) 

Original comment by mateusz....@gmail.com on 19 Aug 2011 at 4:00