TITLE:
Nginx Rewrite issue
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx
PROBLEM DESCRIPTION:I was trying to use my typical rewrights for prestashop, but somehow there is an issue setting it.
Some of the vars are removed from the string and that makes it fail.
rewrite "^/module/([_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)$" /index.php?fc=module&module=$1&controller=$2 last;
It removes $1 and $2
STEPS TO REPRODUCE:Some of the vars are removed from the string and that makes it fail.
rewrite "^/module/([_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)$" /index.php?fc=module&module=$1&controller=$2 last;
It removes $1 and $2
Try and enter
rewrite "^/module/([_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)$" /index.php?fc=module&module=$1&controller=$2 last;
To the nginx config area.
ACTUAL RESULT:rewrite "^/module/([_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)$" /index.php?fc=module&module=$1&controller=$2 last;
To the nginx config area.
Removes needed vars
EXPECTED RESULT:Expected result is it saves rewrite "^/module/([_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)$" /index.php?fc=module&module=$1&controller=$2 last;
Since it works with nginx.
ANY ADDITIONAL INFORMATION:Since it works with nginx.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Help with sorting out