Welcome! Log In Create A New Profile

Advanced

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

Edho Arief
January 06, 2012 09:08AM
On Fri, Jan 6, 2012 at 9:01 PM, gigabyte <nginx-forum@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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

why my php file in subdirectory doesn't work?

baalchina September 27, 2011 10:56PM

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

Simon Liu September 27, 2011 11:04PM

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

suttles October 11, 2011 10:53AM

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

Simon Liu October 11, 2011 11:18AM

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

suttles October 11, 2011 11:21AM

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

Simon Liu October 11, 2011 11:42PM

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

suttles October 12, 2011 02:19PM

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

suttles October 17, 2011 12:19PM

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

gigabyte January 06, 2012 02:37AM

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

hobson42 January 06, 2012 05:32AM

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

gigabyte January 06, 2012 06:39AM

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

Edho Arief January 06, 2012 06:42AM

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

gigabyte January 06, 2012 07:26AM

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

Edho Arief January 06, 2012 07:50AM

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

gigabyte January 06, 2012 08:46AM

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

Edho Arief January 06, 2012 08:50AM

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

gigabyte January 06, 2012 09:01AM

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

Edho Arief January 06, 2012 09:08AM

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

gigabyte January 06, 2012 09:23AM

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

Edho Arief January 06, 2012 05:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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