Re: rewrite difficulty

2013-08-01 Thread Tseveendorj Ochirlantuu
Hello, My understanding is on Apache rules like follow and convert it to nginx If anyone request anything except follow URI /file/, /install/, /design/, /plugins/, /phpmyadmin/ then nginx will forward anything to /index.php?do=anything RewriteCond %{REQUEST_URI} !^/file/.* RewriteCond %{REQUEST_

Re: rewrite difficulty

2013-04-30 Thread Jonathan Matthews
On 30 April 2013 03:36, tseveendorj wrote: > Hello, > > I have difficulty to convert apache like rewrite to nginx. This is my config > file of virtualhost on nginx. http://pastebin.com/HTtKXnFy OMFG. You win today's prize for "Nginx config I am least likely even to /try/ and change". Congrats! ;

rewrite difficulty

2013-04-29 Thread tseveendorj
Hello, I have difficulty to convert apache like rewrite to nginx. This is my config file of virtualhost on nginx. http://pastebin.com/HTtKXnFy My installed php script should have following rewrite http://pastebin.com/M2h3uAt3 Currently any requested php code displayed it's source on browser