Rewrite rule for nginx from Apache

agung nginx-forum at nginx.us
Thu May 26 08:13:51 MSD 2011


I still do not understand the previous explanation

Can you help me to convert my htaccess to nginx...
 

RewriteEngine on
RewriteRule ^$ index.php [L]
RewriteCond $1
!^(index\.php|info\.php|dotpro|poploud|users|upload_pic|static|oauth|sharefb|dotproject|error|facebook|blog|system/application/views/(apps-images|css-libraries|js-libraries|swf-library|video-library)|AuthSub\.php|robots\.txt|favicon\.ico|insecure\.php)
RewriteRule ^(.*)$ index.php/$1 [L]

thank's

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,23868,201013#msg-201013




More information about the nginx mailing list