-1

I have the following .htaccess file. I am trying to configure this on NGINX with no luck.

.htaccess

RewriteEngine On
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

My current NGINX configuration is on ajenti hosting panel.

enter image description here

2

1 Answer 1

1

Off the top of my head,

try_files $uri $uri/ /index.php/$uri;

should do the trick.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .