Re: why my php file in subdirectory doesn't work?
gigabyte
nginx-forum at nginx.us
Fri Jan 6 14:23:52 UTC 2012
May be but this all started when I've updated nginx from 1.0.4 to 1.0.9
This update erased all my previous config files and I've started from
beginning
and stuck on this problem
Edho Arief Wrote:
-------------------------------------------------------
> On Fri, Jan 6, 2012 at 9:01 PM, gigabyte
> <nginx-forum at nginx.us> wrote:
> > the Root directory is /services/www/site/
> >
> > When I login into the index.php which is located
> in
> > /services/www/site/administrator
> > nginx redirects me to index.php which is located
> in the root directory -
> > /services/www/site
> >
> > When I manually enter
> site.net/administrator/index.php it opens the
> > right file but all relative links on it (css,js,
> ,...etc) are being
> > loaded from root directory (/services/www/site)
> and thay should be
> > loaded from subdirectory
> (/services/www/site/administrator) and that is
> > why I'm getting many 404 responses from server.
> >
> >
>
> Looks like application configuration problem.
>
> --
> O< ascii ribbon campaign - stop html mail -
> www.asciiribbon.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215921,220888#msg-220888
More information about the nginx
mailing list