mediawiki + nginx
    Igor Sysoev 
    is at rambler-co.ru
       
    Wed Apr 29 10:29:16 MSD 2009
    
    
  
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/ {
  }
-- 
Igor Sysoev
http://sysoev.ru/en/
    
    
More information about the nginx
mailing list