4 messages in ru.sysoev.nginxhow to change apache .htaccess to ngi...
FromSent OnAttachments
Li YuOct 23, 2007 1:40 am 
Riku RäisänenOct 23, 2007 2:07 am 
Igor SysoevOct 23, 2007 2:13 am 
Alejandro VartabedianOct 23, 2007 2:45 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:how to change apache .htaccess to nginx rewriteActions...
From:Li Yu (list@public.gmane.org)
Date:Oct 23, 2007 1:40:20 am
List:ru.sysoev.nginx

apache .htaccess RewriteRule ^newposts(/?)+$ index.php?subaction=newposts [L] RewriteRule ^newposts/page/([0-9]+)(/?)+$ index.php?subaction=newposts&cstart=$1 [L] RewriteRule ^static/(.*).html(/?)+$ index.php?do=static&page=$1 [L] RewriteRule ^favorites(/?)+$ index.php?do=favorites [L] RewriteRule ^favorites/page/([0-9]+)(/?)+$ index.php?do=favorites&cstart=$1 [L] RewriteRule ^statistics.html$ index.php?do=stats [L] RewriteRule ^addnews.html$ index.php?do=addnews [L] RewriteRule ^rss.xml$ engine/rss.php [L] RewriteRule ^sitemap.xml$ uploads/sitemap.xml [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^.]+)/page/([0-9]+)(/?)+$ index.php?do=cat&category=$1&cstart=$2 [L] RewriteRule ^([^.]+)/?$ index.php?do=cat&category=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^<]+)/rss.xml$ engine/rss.php?do=cat&category=$1 [L] RewriteRule ^page,([0-9]+),([^/]+).html$ index.php?do=static&page=$2&news_page=$1 [L] RewriteRule ^([^/]+).html$ index.php?do=static&page=$1 [L]