Welcome! Log In Create A New Profile

Advanced

wordpress mu + nginx + apache

December 01, 2009 11:33AM
hi

I have read many forums and tried many settings and I can not get it to work, I need help

I swear I've tried many rules combination and settings

these are the rules for apache for wordpress 2.8.6, but I need to do the rewrite in nginx (proxy reverse, in front of apache)

[quote="apache rules"]
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]
[/quote]

which is the translation of these rules for nginx? help PLEASE!! :(
Subject Author Posted

wordpress mu + nginx + apache

pepejose December 01, 2009 11:33AM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 11:38AM

Re: wordpress mu + nginx + apache

Ozkan Erden December 01, 2009 01:56PM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 02:06PM

Re: wordpress mu + nginx + apache

Ozkan Erden December 01, 2009 02:16PM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 02:40PM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 04:32PM

Re: wordpress mu + nginx + apache

Igor Sysoev December 01, 2009 02:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready