Welcome! Log In Create A New Profile

Advanced

Re: can't access sub directories

Francis Daly
April 19, 2012 03:32PM
On Thu, Apr 19, 2012 at 01:18:14PM -0400, sirvon wrote:

Hi there,

> with my current config, i can access the root directory
> but i cant access any directory below it...

With that configuration, I'd expect that any non-php request to a url
that starts http://sourcemarine.net/ would be served directly from the
filesystem below /usr/share/nginx/html/sourcemarine.net

I'm not able to work out how you want php requests to be handled.

After "fastcgi_pass", the configuration becomes unclear. By which I mean
"probably broken".

So, when you say "cant access any directory below it": can you nominate
one specific url, and say what you actually get when you fetch it,
and say what you expect to get when you fetch it?

I suspect that the output of something like

curl -i http://sourcemarine.net/one/two

will be useful.

If the problem is with the php configuration, then can you describe how
you would like the request to be handled?

As in, if I access http://sourcemarine.net/one/two.php/three, which php
file do you want "the system" to read and process?

f
--
Francis Daly francis@daoine.org

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

can't access sub directories

sirvon April 19, 2012 01:18PM

Re: can't access sub directories

Francis Daly April 19, 2012 03:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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