On 2014-04-22, 3:36 PM, Matthew Wayne Selznick wrote:
On Mon, Apr 21, 2014 at 12:07 AM, Daniel Friesen
<daniel(a)nadir-seen-fire.com> wrote:
It's likely something to do with your
location rules. Instead of hitting
the right wiki location a broad WordPress location is being hit.
First thing to do is share the nginx.conf you have related to WordPress
and MediaWiki.
Here's that -- does it help?:
Yup, there are a number of
problems with the config:
- I don't recommend blacklisting php for uploads that way (that's not
even protecting the wiki uploads anyways, is it?). A much nicer way is
to enclose the .php handler such that when you define an empty location
for the images dir the php handler simply doesn't exist under that path
anymore.
- The final entry for the try_files in your wiki section points to
WordPress, not MediaWiki.
Proper nginx config for MediaWiki looks closer to this:
http://shorturls.redwerks.org/?source=userdata&fcgi_params=%2Fetc%2Fngi…
What is the path to MediaWiki's index.php?
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://danielfriesen.name/]