Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

3.1.6 => Nginx => Required an additional rewrite rule to work #104

Open
LotusJeff opened this issue Oct 17, 2015 · 2 comments
Open

3.1.6 => Nginx => Required an additional rewrite rule to work #104

LotusJeff opened this issue Oct 17, 2015 · 2 comments

Comments

@LotusJeff
Copy link

I had to add:

rewrite ^/nforums/(forum|[a-z0-9_-]*-f)([0-9]+)/$ /nforums/viewforum.php?f=$2 last;

This allowed base forums to show.

@LotusJeff
Copy link
Author

i have modified the rewrite to handle pagination......

rewrite ^/forums/(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+).html)?$ /forums/viewforum.php?f=$2&start=$4 last;

@Leinad4Mind
Copy link

Leinad4Mind commented Feb 27, 2016

@LotusJeff
There is an option, Virtual Folder or Forum URL caching that needs to be disable to allow /forums/

As I can see it handles well pagination...it ads a -15 or -30 in the 2nd page and 3rd page. So, cant see where are yours problems

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants