mediawiki + nginx

Cliff Wells cliff at develix.com
Wed Apr 29 19:02:34 MSD 2009


On Wed, 2009-04-29 at 10:29 +0400, Igor Sysoev wrote:
> On Tue, Apr 28, 2009 at 02:20:32PM -0700, Cliff Wells wrote:
> 
> > On Tue, 2009-04-28 at 16:45 -0400, Timothy Ball wrote:
> > > still sorta confused about running those two together. my end goal is
> > > to have simple urls like:
> > > 
> > >    wiki.something.com/TheArticleThingie
> > > 
> > > right now under my current configs i get urls that look like this:
> > > 
> > >    wiki.something.com/index.php/TheArticleThingie
> > > 
> > > which is *very close* but not quite.
> > > 
> > > To prove that i've done my share of "just google it"
> > > 
> > > i tried to cut&paste the configs from
> > > http://wiki.nginx.org/NginxMediaWiki and when i do an nginx -t it
> > 
> > Please try the second example on that page and let me know how that
> > works.   That's the config I use for the Nginx wiki itself, so I expect
> > it works =)
> 
> Please change this ugly stuff:
> 
>   location ~ .*\.php5?$ {
>     include       fastcgi.conf;
>     fastcgi_index index.php;
>     if ( $uri !~ "^/images/" ) {
>       fastcgi_pass  127.0.1.1:1026;
>     }
>   }
> 
> to something like this:
> 
>   location ~ \.php5?$ {
>        fastcgi_pass  127.0.1.1:1026;
>        include       fastcgi.conf;
>   }
> 
>   location /images/ {
>   }
> 

I've just removed the entire first example.   I don't know that it's
worked for anyone.

Cliff







More information about the nginx mailing list