Welcome! Log In Create A New Profile


Перевести .htaccess в конфиг nginx

April 26, 2015 01:25PM
Ребятки помогите пожалуйста перевести .htaccess в конфиг nginx
никак не получается

AddDefaultCharset utf-8
Options -Indexes

DirectoryIndex index.php index.html

RewriteEngine On

RewriteRule ^.htaccess$ - [F]

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php
Subject Author Posted

Перевести .htaccess в конфиг nginx

sadus April 26, 2015 01:25PM

Re: Перевести .htaccess в конфиг nginx

Александр Васильев April 27, 2015 01:34AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 325
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready