Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Помогите пожалуйста созда ть правила Nginx.
- To: nginx-ru@xxxxxxxxx
- Subject: Помогите пожалуйста созда ть правила Nginx.
- From: "Gordey" <nginx-forum@xxxxxxxx>
- Date: Tue, 04 Jan 2011 13:59:55 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=jSHontBQXRkXadDmYZiTZizO/4cYzvp8c5Nh9nRUKqI=; b=FUhqYreGrQZW1Az3bk38qYu8Rn82Rvg1PmNlXChyf7/LAv+i8B0ULEiJabwlsbtXouWYUSketbKnGkhIHMxKpuys+Y2zejm/LzD0LVeHNDkxG+l1/P6CpanUbeukfuXI;
Помогите пожалйста создать правило для
NGINX Очень срочно надо
#php_flag register_globals off
#php_value error_reporting 0
DirectoryIndex index.php
Options -Indexes
AddDefaultCharset windows-1251
AddType text/csv csv
RewriteEngine On
#Options FollowSymLinks
#Options SymLinksIfOwnerMatch
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php
ErrorDocument 404 /
ExpiresActive on
ExpiresByType image/jpeg "access plus 3 day"
ExpiresByType image/gif "access plus 3 day"
Order Deny,Allow
Deny From All
Order Deny,Allow
Deny From All
Order Deny,Allow
Deny From All
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,163464,163464#msg-163464
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|