2017-08-24, 06:59 PM
Hello guys, sorry but the documentation about the rewriterule in nginx is very deficient and all use different methods. I have the forum inside a folder named "forum". If I want to edit the rewriterule of the htaccess-nginx.txt to accept the forum folder how can I do it?
I have this rewrite for example:
how I have to edit it?
this?
or this?
or anything else?
Thanks.
I have this rewrite for example:
rewrite ^/forum-([0-9]+).html$ /forumdisplay.php?fid=$1 last;
how I have to edit it?
this?
rewrite ^/forum/forum-([0-9]+).html$ /forum/forumdisplay.php?fid=$1 last;
or this?
rewrite ^/forum-([0-9]+).html$ /forum/forumdisplay.php?fid=$1 last;
or anything else?
Thanks.