Hi David,

You need to take those WP redirects and put them into the Cherokee
control panel.  They may take some tweaking, but there isn't that
many.  htaccess files are horrible for performance and Cherokee does
not use them.

Hope that helps.

Tony Z


On Sat, May 7, 2011 at 4:27 AM, David Bonilla <[email protected]> wrote:
> Hi there,
> I'm a Cherokee newbie. We are trying to migrate our corporate blogging
> system (an old Wordpress MU, now updated to Wordpress 3.1.2 configures to
> support multiblog). The point is Wordpress uses the Apache's Mod Rewrite to
> manage the multiblog system.
> When you type http://www.yoursite.com/blog/david, Wordpress redirect the
> request to a terrific PHP script (now ms-files.php, before blogs.php). I
> guess it parse the request and use the blog shortcut (e.g. david) to find
> the blog ID and then, query the database to find the post and redirect the
> files requests to a system directory.
> I have downloaded and configured my Cherokee + MySQL + PHP5 + Wordpress
> 3.1.2 and it works perfectly (GREAT!) but I can't access the blogs because I
> don't know how to replicate this .htaccess in my Cherokee Virtual Server...
> :(
> Someone with the same problem? Any help would be warmly welcomed and
> appreciated !!!
> Regards,
> David
> This is the file:
>
> RewriteEngine On
>
> RewriteBase /blog/
>
>
>
> #uploaded files
>
> RewriteRule ^(.*/)?files/$ index.php [L]
>
> RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
>
> #RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L
>
> RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
>
>
>
> # add a trailing slash to /wp-admin
>
> RewriteCond %{REQUEST_URI} ^.*/wp-admin$
>
> RewriteRule ^(.+)$ $1/ [R=301,L]
>
>
>
> RewriteCond %{REQUEST_FILENAME} -f [OR]
>
> RewriteCond %{REQUEST_FILENAME} -d
>
> RewriteRule . - [L]
>
> RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
>
> RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
>
> RewriteRule . index.php [L]
>
>
>
> <IfModule mod_security.c>
>
> <Files async-upload.php>
>
> SecFilterEngine Off
>
> SecFilterScanPOST Off
>
> </Files>
>
> </IfModule>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to