Re: Need help to convert .htaccess to nginx rules

2013-03-07 Thread onel0ve
ok CAn you just tell how to exclude a directory from nginx rules ? . I want to disable mod rewrite for one sub folder . Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236960,237083#msg-237083 ___ nginx mailing list nginx@nginx.org http://mail

Re: Need help to convert .htaccess to nginx rules

2013-03-06 Thread Jonathan Matthews
On 6 March 2013 12:34, Andre Jaenisch wrote: > 2013/3/6 onel0ve : >> I just need to convert this to nginx rules . > > I guess, the thing is, that you shall learn, how this can be achieved. > So you can do it on your own the next time. > In case you've tried it yet, it may be helpful to show your a

Re: Need help to convert .htaccess to nginx rules

2013-03-06 Thread Andre Jaenisch
2013/3/6 onel0ve : > I just need to convert this to nginx rules . I guess, the thing is, that you shall learn, how this can be achieved. So you can do it on your own the next time. In case you've tried it yet, it may be helpful to show your attempts. Look, it seems that you want others to do your

Re: Need help to convert .htaccess to nginx rules

2013-03-06 Thread onel0ve
I just need to convert this to nginx rules . # To ignore htaccess - enlist here RewriteCond $1 !^(index\.php|ftpservice|demo|ftpdb|MDF|phpsysinfo|admin|templates|links| api|forum|articles|imageGallery|language|includes|ajax|resources|fonts|images|parse|directory| uploads|system|rss\.php|robots\.t

Re: Need help to convert .htaccess to nginx rules

2013-03-05 Thread mex
maybe this helps as a start: http://stackoverflow.com/questions/5840497/convert-htaccess-to-nginx and you may want to read http://wiki.nginx.org/HttpCoreModule#location http://wiki.nginx.org/HttpRewriteModule since usage and order-of-procerssing is quite a little different regards, mex

Need help to convert .htaccess to nginx rules

2013-03-05 Thread onel0ve
[code] #Compress SetOutputFilter DEFLATE Options +FollowSymLinks RewriteEngine on RewriteBase / # please use .php at url for admin RewriteRule ^recent-articles-feed rss.php [NC] RewriteRule ^rss/([^/]+) rss.php?q=$1 [NC] # To ignore htaccess - enlist here RewriteCond $1 !^(index\.php|ftpservice|d