OH, I have replaced this 3 lines, BUT the error as before :
Route forum.php/ could not be found.
this is the complete config file:
server
{
listen 80;
server_name bbs.hx317.com www.hx317.com m.hx317.com;
index index.html index.htm index.php;
root /home/htdocs/xf;
if...
yes, there are the others rewrite rules, blow is the complete configure file:
server
{
listen 80;
server_name bbs.example.com www.example.com m.example.com;
index index.html index.htm index.php;
root /home/htdocs/xf;
if ($host = 'www.example.com' ) {
rewrite...
hello, everyone.
I have a old forum script, I move it to xf 1.5.6
but now the old url can't redirect to new's.
my old url is http://bbs.example.com/forum.php?mod=viewthread&tid=409493&page=1&authorid=84701
and new url is http://bbs.example.com/threads/409493/
I write a nginx rewrite as blow...