Welcome! Log In Create A New Profile

Advanced

Htaccess Rewrite Problem

Posted by muhammedkrkyn 
Htaccess Rewrite Problem
November 03, 2018 07:35PM
I am using the Alti Watermark Plugin but my web server Nginx so i need to write the htaccess rules for nginx again but i couldn't.can you please help

the code I need to convert:

# BEGIN alti-watermark Plugin
<ifModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*(-570x320|-768x([\d]+)|-([1-1][\d]{1,3}|[\d]{1,3})x1024|-1024x([1-1][\d]{1,3}|[\d]{1,3})|-555x650|-666x([\d]+)|-555x650|-666x([\d]+))\.jpg|.*(?<!-\dx\d)(?<!-\d\dx\d)(?<!-\dx\d\d)(?<!-\d\dx\d\d)(?<!-\d\d\dx\d\d)(?<!-\d\dx\d\d\d)(?<!-\d\d\dx\d\d\d)(?<!-\d\d\d\dx\d\d\d)(?<!-\d\d\d\dx\d\d)(?<!-\d\d\dx\d\d\d\d)(?<!-\d\d\d\dx\d\d\d\d)(?<!-\d\d\d\dx\d\d\d)(?<!-\d\d\d\dx\d\d)(?<!-\d\d\d\d\dx\d\d\d\d\d)\.jpg){1}((\?|\&)([^\.\?\ ]+))*$ ../plugins/alti-watermark/public/views/alti-watermark-public-bridge.php?imageRequested=$1 [PT]
</ifModule>
# [date=2018-11-03 08:59.31] [php=7.2.10] [width=570x320|768x0|1024x1024|555x650|666x0|555x650|666x0|fullsize] [plugin_name=alti-watermark] [version=alti-watermark]
# END alti-watermark Plugin


Thank You
Good Jobs
Re: Htaccess Rewrite Problem
November 06, 2018 12:24AM
hi .
i have a problem .
how to install X-Accel-Redirect on the nginx in the directadmin ?

please help me !
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready