I got Wordpress MU working a while ago (as a test/demo only) using URL paths, rather than subdomains...
Permalinks in Wordpress MU are set as the custom: /index.php/%year%/%monthnum%/%postname%/ This worked, but it is complicated, and may be over-the-top (can't remember too much)... Behaviour Rules 1) Complex: (Not (File Exists: Any file)) AND (Regular Expression: ^/([_0-9a-zA-Z-]+)/(wp-.*|.*\.php(\?.*|))$) Handler Internal Redirection: ^/([_0-9a-zA-Z-]+)/(wp-.*)$ to ^/([_0-9a-zA-Z-]+/)/(.*\.php(\?.*|))$ Handler Internal Redirection: ^/([_0-9a-zA-Z-]+/)/(.*\.php(\?.*|))$ to /$2 2) Regular Expression: ^(.*)\.php(\?.*|)$ Handler: FastCGI 3) Complex: Not (File Exists: Any file) Handler Internal Redirection: ^/(.*)$ to /index.php 3) Default, List & Send If you'd prefer me to take screenshots of the behaviour settings, then just let me know :P Cheers, Matt. 2009/8/27 Urko Masse <[email protected]> > > So... Did anybody ever get Wordpress MU to work with Cherokee? :) > > I'm trying to run it in a /blogs/ subfolder, not as a virtual server > in the root folder. Though I guess I could change that with some work. > > Necesito ayuda! (I need help!) > > On Sep 6 2008, 4:23 am, Miguel Ángel <[email protected]> wrote: > > Hi :) > > the problem on these rules, as antonio says, is that wordpress > > creates file irks dinamically. I'm not sure about worspress but that > > happened to me with wordpress mu. > > > > I think that some rewrite rules could be only translates if we > > get those kind of conditionals: "-f" it's not a file, and "-d" it's > > not a directory . Other way could be putting the static files as first > > rules and leting it fallback on the rewrite when the file doesn't exist. > > > > Miguel Ángel > > > > El 05/09/2008, a las 20:22, "Antonio Pérez" <[email protected]> > > escribió: > > > > > > > > > On Fri, Sep 5, 2008 at 8:15 PM, Alvaro Lopez Ortega > > > <[email protected]> wrote: > > > > >>> I need it too :) I still have it on my pending tasks ':) > > > > >> Guys, I'm pretty sure you are gonna love the new 'wizards' feature > > >> shipped > > >> with the upcoming Cherokee 0.9 :-) > > > > > I hope!, I hope!... :D > > > > >>>> I'm trying to use my custom permalinks in Wordpress and I need to > > >>>> "emulate" this behaviour in Cherokee. > > > > >> This is something you can configure with the "Behavior" section of > > >> your > > >> Virtual Server. > > > > >> It first look, I'd say that something like this could be enough: > > > > >> - Extension php "FastCGI" > > >> - Directory /images "Static content" > > >> - Directory /bla, bla "Static content" > > >> - Directory /lalala "Static content" > > >> - Default ^.+$ "Redirection" (to /index.php?$1) > > > > > Ufff! > > > > > But this need to add rules every time I create a new directory, or > > > file in "/". > > > > > I think the problem here is how to get those rewrite conditions works > > > on Cherokee. > > > > >> Good luck! > > > > > Anyway, it's a good hack at the moment... Thanks for your help. ;) > > > > > -- > > > Saludos: > > > Antonio Pérez > > > > > ATENCIÓN: Antes de imprimir este mensaje valora si verdaderamente es > > > necesario. > > > De esta forma contribuimos a la preservación del Medio Ambiente. > > > > _______________________________________________ > > Cherokee mailing list > > [email protected]http://lists.octality.com/listinfo/cherokee > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
