Welcome! Log In Create A New Profile

Advanced

Re: спрятать index.php

April 12, 2011 12:13PM
location / {
try_files $uri @phpback;
}

location @phpback {
rewrite ^(.*)$ /index.php last;
}

location ~ \.php$ {
<тут уже что хотите>
}

У нас это работает.
Subject Author Posted

спрятать index.php

kirpich April 12, 2011 08:59AM

Re: спрятать index.php

Sergey Shepelev April 12, 2011 09:18AM

Re: спрятать index.php

kirpich April 12, 2011 09:59AM

Re: спрятать index.php

Slava Kokorin April 12, 2011 10:06AM

Re: спрятать index.php

Sergey Shepelev April 12, 2011 10:34AM

Re: спрятать index.php

Igor Sysoev April 12, 2011 11:00AM

Re: спрятать index.php

Alexander Moskalenko April 12, 2011 11:46AM

Re: спрятать index.php

migosm April 12, 2011 12:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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