IIRF Wordpress MU - INI - Confrim or Deny?

Feb 24, 2010 at 3:44 PM
Edited Feb 24, 2010 at 4:42 PM

Hello, if someone could please confirm or deny the ability if IIRF to be used properly with WordPress MU? I have read many articale on the matter, most just say to moce to Apache, unfortunately that is not an option as we have an existing webserver that we have to use. The pages work fine, the /blog/ pages however do nothing but generate a 404 error.

The following is the code i am using, this was generated based on my understanding of mod_rewrite / regex, and my lack of knowledge on "how" or "what" wordpress is trying to generate.

RewriteEngine On

#RewriteBase /

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [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]

 

This is the .hataccess page that came with the distro of Wordpress.

 

 

RewriteEngine On
RewriteBase /

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.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>

Coordinator
Feb 26, 2010 at 1:26 AM

I don't know what MU is , so I can't comment. 

It should work no problem though. Just a matter of setting the rules properly.