Welcome! Log In Create A New Profile

Advanced

Re: UserDir

Francis Daly
February 01, 2012 12:32PM
On Wed, Feb 01, 2012 at 11:31:14AM -0500, Brad Huntington wrote:

Hi there,

> I'm having trouble getting UserDir to work. I think it has something to do
> with the PHP fastcgi options. Can someone please take a look at my
> configuration and double check what I have? Any help is appreciated. Thanks.

What's the trouble you're seeing?

GET /~user/file fails? Or GET /file.php fails? Or GET /~user/file.php fails?

> http://pastebin.com/3wRTVXJW

In nginx, each request is handled by exactly one location{} block. Only
the configuration in, or inherited into, that location{} matters.

You have one regex location for .php urls, and one regex location for
"userdir" urls. A single request won't match both of those.

If you can describe your desired url->file mapping, it will likely be
easier to ensure that the nginx.conf matches that.

Good luck,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

UserDir

bhuntington February 01, 2012 11:32AM

Re: UserDir

Edho Arief February 01, 2012 12:28PM

Re: UserDir

Francis Daly February 01, 2012 12:32PM

Re: UserDir

white_gecko February 16, 2012 04:57PM

Re: UserDir

Sven Ludwig February 16, 2012 06:38PM

Re: UserDir

white_gecko February 17, 2012 04:40AM

Re: UserDir

sistematico June 28, 2012 10:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 57
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready