Welcome! Log In Create A New Profile

Advanced

pretty URLs in subfolders

David Benfell
February 20, 2015 11:00PM
Hi,

I'm very new to nginx and I'm having serious problems.

I have a number of applications on parts-unknown.org. Drupal,
Wordpress, mediawiki (the old wiki), dokuwiki (the new wiki), an
owncloud (v7), and a stikked (pastebin) instance. Pretty URLs aren't
working at all and the guidance I've found on the web isn't helping.

I'm just guessing that the non-pretty URLs don't all use the same PHP
parameter, but I don't even know how to find these parameters.

I have php-fpm working (as near as I can tell). It appears to work for
a GNU Social instance I have; the example configuration, which
includes a pretty URL fix similar to what I've seen suggested for
everything else that works for it.

I'm also completely mystified by the problem of nesting location
directives. As near as I can tell nginx just doesn't let you do this.
I don't understand what it's attempting to stop me from doing and
again, the guidance I've found on the web hasn't helped.

A lot of the example configurations I've found, adapted to my context,
seem to require nested locations. To me a location within a location
should be like a subfolder within a folder. nginx doesn't appear
willing to let me do that.

So I tried moving the nested location directives out and fully
qualifying them. nginx doesn't complain about this, but it also isn't
handling the pretty URLs right.

Thanks!
--
David Benfell <benfell@parts-unknown.org>
See https://parts-unknown.org/node/2 if you don't understand the
attachment.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

pretty URLs in subfolders

David Benfell February 20, 2015 11:00PM

Re: pretty URLs in subfolders

Francis Daly February 21, 2015 06:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
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