Re: why my php file in subdirectory doesn't work?

Simon Liu simohayha.bobo at
Tue Oct 11 15:16:31 UTC 2011


You should set index directive. example: "index index.html index.php"

On Tue, Oct 11, 2011 at 10:53 PM, suttles <nginx-forum at> wrote:

> I have similar problem. I can get the index.php to display in the
> document root, but when I type it will
> not pull the index.php, but if I type
>, it will bring the page up. So
> is this a configuration file issue or a rewrite issue. I need to resolve
> this due to the fact I have some joomla installs that have a root joomla
> install and then a subdirectory of joomla installed and I must be able
> to get the server to respond to the sub-directory index.php files.
> I am new to NGINX and let me say it is awesome, but I still have a lot
> to learn.
> Thx
> Suttles
> Posted at Nginx Forum:
> _______________________________________________
> nginx mailing list
> nginx at




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list