Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
htaccess для nginx
- To: nginx-ru@xxxxxxxxx
- Subject: htaccess для nginx
- From: "Rollex" <nginx-forum@xxxxxxxx>
- Date: Tue, 20 Apr 2010 16:41:05 -0400
- 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=OkwSuUtKz3F98qd/UHeusgMFLIe03WfT9W6YPoa2lEY=; b=C/4On0gRISOrHnUIv+oIBhBA7InKch7xbMMbk4WcayQCZRL4g6juduaGR0CMFBhapiNszXidfGv4JMHhCH8aSXp4l4evPThXq/W6dsSnLhYu1EIBQcweH3yQzJVanMbx;
Народ выручайте, бьюсь уже неделю не могу верно написать правила под nginx от
htaccess
Содержимое файла htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^users/(.*)\.html$ user.php?user=$1&%{QUERY_STRING}
RewriteRule ^PhotoSharing/({1})(.*)$ out.php?$1=$2&%{QUERY_STRING}
RewriteRule ^ImageHosting/(.*)$ show.php?img=$1&%{QUERY_STRING}
RewriteRule ^gallery/([0-9]+)-([^/]*)/(.*)$ gallery.php?gal=$1&img=$3
RewriteRule ^viewimg/([0-9]+)-([^/]*)/(.*)$ gallery_body.php?gal=$1&img=$3
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,77263,77263#msg-77263
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|