Recent content by zhenglee

  1. zhenglee

    Fixed The requested page could not be found. (Code: no_controller, controller: -, action: -)

    $from = str_replace($match[0], $placeholder, $from); $to = str_replace($match[0], '$' . ($i + 1), $to); } $from = preg_quote($from, '#'); foreach ($findReplacements AS $findPlaceholder => $findReplacement)...
  2. zhenglee

    XF 1.5 please help nginx rewrite redirect to xf

    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...
  3. zhenglee

    XF 1.5 please help nginx rewrite redirect to xf

    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...
  4. zhenglee

    XF 1.5 please help nginx rewrite redirect to xf

    thank you, @Jake Bunce BUT can't work, error is: Route forum.php/ could not be found.
  5. zhenglee

    XF 1.5 please help nginx rewrite redirect to xf

    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...
Top Bottom