1 # ATBBS Lighttpd Redirect File
4 # include from /etc/lighttpd/lighttpd.conf:
6 # $HTTP["host"] == "yourdomain.com" {
10 server.error-handler-404 = "/url_handler.php"
12 "^topic/([0-9]+)$" => "topic.php?id=$1",
13 "^topics/?([0-9]+)?$" => "index.php?p=$1",
14 "^bumps/?([0-9]+)?$" => "index.php?bumps=1&p=$1",
15 "^history/?([0-9]+)?$" => "history.php?p=$1",
16 "^replies/?([0-9]+)?$" => "replies.php?p=$1",
17 "^watchlist$" => "watchlist.php",
18 "^new_topic$" => "post.php",
19 "^new_reply/([0-9]+)$" => "post.php?reply=$1",
20 "^new_reply/([0-9]+)/quote_topic$" => "post.php?reply=$1"e_topic=1",
21 "^new_reply/([0-9]+)/quote_reply/([0-9]+)$" => "post.php?reply=$1"e_reply=$2",
22 "^new_reply/([0-9]+)/cite_reply/([0-9]+)$" => "post.php?reply=$1&cite=$2",
23 "^edit_topic/([0-9]+)$" => "post.php?&edit=$1",
24 "^edit_reply/([0-9]+)/([0-9]+)$" => "post.php?reply=$1&edit=$2",
25 "^search$" => "search.php",
26 "^quick_search/(.+)$" => "search.php?q=$1",
27 "^deep_search/(.+)?$" => "search.php?q=$1&deep_search=1",
28 "^stuff$" => "stuff.php",
29 "^dashboard$" => "dashboard.php",
30 "^trash_can$" => "trash_can.php",
31 "^statistics$" => "statistics.php",
32 "^date_and_time$" => "date_and_time.php",
33 "^back_up_ID$" => "back_up_id.php",
34 "^generate_ID_card$" => "back_up_id.php?action=generate_id_card",
35 "^restore_ID$" => "restore_id.php",
36 "^restore_ID/([A-Za-z0-9.]+)/([A-Za-z0-9]+)$" => "restore_id.php?UID=$1&password=$2",
37 "^recover_ID_by_email$" => "recover_id_by_email.php",
38 "^drop_ID$" => "drop_id.php",
39 "^profile/([0-9a-zA-Z.]+)$" => "profile.php?uid=$1",
40 "^failed_postings$" => "failed_postings.php",
41 "^IP_address/([0-9.]+)$" => "ip_address.php?ip=$1",
42 "^edit_ignore_list$" => "edit_ignore_list.php",
43 "^ban_poster/([0-9a-zA-Z.]+)$" => "action.php?action=ban_uid&id=$1",
44 "^unban_poster/([0-9a-zA-Z.]+)$" => "action.php?action=unban_uid&id=$1",
45 "^unban_IP/([0-9.]+)$" => "action.php?action=unban_ip&id=$1",
46 "^delete_IP_IDs/([0-9.]+)$" => "action.php?action=delete_ip_ids&id=$1",
47 "^nuke_IP/([0-9.]+)$" => "action.php?action=nuke_ip&id=$1",
48 "^nuke_ID/([0-9a-zA-Z.]+)$" => "action.php?action=nuke_id&id=$1",
49 "^delete_topic/([0-9]+)$" => "action.php?action=delete_topic&id=$1",
50 "^delete_reply/([0-9]+)$" => "action.php?action=delete_reply&id=$1",
51 "^delete_page/([0-9]+)$" => "action.php?action=delete_page&id=$1",
52 "^CMS$" => "content_management.php",
53 "^edit_page/([0-9]+)$" => "edit_content.php?edit=$1",
54 "^new_page$" => "edit_content.php",
55 "^watch_topic$" => "action.php?action=watch_topic",
56 "^watch_topic/([0-9]+)$" => "action.php?action=watch_topic&id=$1",
57 "^trivia_for_topic/([0-9]+)$" => "topic_trivia.php?id=$1",
58 "^exterminate$" => "exterminate.php"