[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/ -> htaccess-nginx.txt (source)

   1  # Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too
   2  location ~ /error.log 
   3  { 
   4      deny all; 
   5  }
   6  
   7  # Note: You are able to rename the admin directory. If you've done that, you need to change it here too
   8  location /admin/backups {
   9      deny all;
  10  }
  11  
  12  rewrite ^/forum-([0-9]+).html$ /forumdisplay.php?fid=$1 last;
  13  rewrite ^/forum-([0-9]+)-page-([0-9]+).html$ /forumdisplay.php?fid=$1&page=$2 last;
  14  rewrite ^/thread-([0-9]+).html$ /showthread.php?tid=$1 last;
  15  rewrite ^/thread-([0-9]+)-page-([0-9]+).html$ /showthread.php?tid=$1&page=$2 last;
  16  rewrite ^/thread-([0-9]+)-lastpost.html$ /showthread.php?tid=$1&action=lastpost last;
  17  rewrite ^/thread-([0-9]+)-nextnewest.html$ /showthread.php?tid=$1&action=nextnewest last;
  18  rewrite ^/thread-([0-9]+)-nextoldest.html$ /showthread.php?tid=$1&action=nextoldest last;
  19  rewrite ^/thread-([0-9]+)-newpost.html$ /showthread.php?tid=$1&action=newpost last;
  20  rewrite ^/thread-([0-9]+)-post-([0-9]+).html$ /showthread.php?tid=$1&pid=$2 last;
  21  rewrite ^/post-([0-9]+).html$ /showthread.php?pid=$1 last;
  22  rewrite ^/announcement-([0-9]+).html$ /announcements.php?aid=$1 last;
  23  rewrite ^/user-([0-9]+).html$ /member.php?action=profile&uid=$1 last;
  24  rewrite ^/calendar-([0-9]+).html$ /calendar.php?calendar=$1 last;
  25  rewrite ^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+).html$ /calendar.php?calendar=$1&year=$2&month=$3 last;
  26  rewrite ^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+).html$ /calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 last;
  27  rewrite ^/calendar-([0-9]+)-week-(n?[0-9]+).html$ /calendar.php?action=weekview&calendar=$1&week=$2 last;
  28  rewrite ^/event-([0-9]+).html$ /calendar.php?action=event&eid=$1 last;


2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref