Welcome! Log In Create A New Profile

Advanced

Re: mediawiki + nginx

April 29, 2009 02:29AM
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/
Subject Author Posted

mediawiki + nginx

Timothy Ball April 28, 2009 04:45PM

Re: mediawiki + nginx

mike April 28, 2009 05:01PM

Re: mediawiki + nginx

Cliff Wells April 28, 2009 05:20PM

Re: mediawiki + nginx

Igor Sysoev April 29, 2009 02:29AM

Re: mediawiki + nginx

Cliff Wells April 29, 2009 11:02AM

Re: mediawiki + nginx

Igor Sysoev April 29, 2009 02:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready