Forum: NGINX htaccess to NGINX conversion help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Lee W. (Guest)
on 2009-04-24 19:36

I am wondering if anyone could help me convert this .htaccess file to
NGINX.  I have attempted to look for solutions on the internet but
cannot seem to solve the problem.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /projects/name/public/index.php

Many thanks in advance.

Igor S. (Guest)
on 2009-04-24 19:59
(Received via mailing list)
On Fri, Apr 24, 2009 at 05:36:31PM +0200, Lee Wilson wrote:

> RewriteRule . /projects/name/public/index.php
> Many thanks in advance.

   location / {
       try_files  $uri  $uri/  /projects/name/public/index.php;
This topic is locked and can not be replied to.