Lighttpd conf file added for lighttpd webservers
[atbbs.git] / .htaccess
blob6ecb571e6b4f318d0d2e596f6566fa8bb71cbff1
1 php_flag magic_quotes_gpc Off
2 ErrorDocument 404 /url_handler.php
4 RewriteEngine On
5 RewriteRule ^topic/([0-9]+)$ topic.php?id=$1 [L]
6 RewriteRule ^topics/?([0-9]+)?$ index.php?p=$1 [L]
7 RewriteRule ^bumps/?([0-9]+)?$ index.php?bumps=1&p=$1 [L]
8 RewriteRule ^history/?([0-9]+)?$ history.php?p=$1 [L]
9 RewriteRule ^replies/?([0-9]+)?$ replies.php?p=$1 [L]
10 RewriteRule ^watchlist$ watchlist.php [L]
11 RewriteRule ^new_topic$ post.php [L]
12 RewriteRule ^new_reply/([0-9]+)$ post.php?reply=$1 [L]
13 RewriteRule ^new_reply/([0-9]+)/quote_topic$ post.php?reply=$1&quote_topic=1 [L]
14 RewriteRule ^new_reply/([0-9]+)/quote_reply/([0-9]+)$ post.php?reply=$1&quote_reply=$2 [L]
15 RewriteRule ^new_reply/([0-9]+)/cite_reply/([0-9]+)$ post.php?reply=$1&cite=$2 [L]
16 RewriteRule ^edit_topic/([0-9]+)$ post.php?&edit=$1 [L]
17 RewriteRule ^edit_reply/([0-9]+)/([0-9]+)$ post.php?reply=$1&edit=$2 [L]
18 RewriteRule ^search$ search.php [L]
19 RewriteRule ^quick_search/(.+)$ search.php?q=$1 [L]
20 RewriteRule ^deep_search/(.+)?$ search.php?q=$1&deep_search=1 [L]
21 RewriteRule ^stuff$ stuff.php [L]
22 RewriteRule ^dashboard$ dashboard.php [L]
23 RewriteRule ^trash_can$ trash_can.php [L]
24 RewriteRule ^statistics$ statistics.php [L]
25 RewriteRule ^date_and_time$ date_and_time.php [L]
26 RewriteRule ^back_up_ID$ back_up_id.php [L]
27 RewriteRule ^generate_ID_card$ back_up_id.php?action=generate_id_card
28 RewriteRule ^restore_ID$ restore_id.php [L]
29 RewriteRule ^restore_ID/([A-Za-z0-9.]+)/([A-Za-z0-9]+)$ restore_id.php?UID=$1&password=$2 [L]
30 RewriteRule ^recover_ID_by_email$ recover_id_by_email.php [L]
31 RewriteRule ^drop_ID$ drop_id.php [L]
32 RewriteRule ^profile/([0-9a-zA-Z.]+)$ profile.php?uid=$1 [L]
33 RewriteRule ^failed_postings$ failed_postings.php [L]
34 RewriteRule ^IP_address/([0-9.]+)$ ip_address.php?ip=$1 [L]
35 RewriteRule ^edit_ignore_list$ edit_ignore_list.php [L]
36 RewriteRule ^ban_poster/([0-9a-zA-Z.]+)$ action.php?action=ban_uid&id=$1 [L]
37 RewriteRule ^unban_poster/([0-9a-zA-Z.]+)$ action.php?action=unban_uid&id=$1 [L]
38 RewriteRule ^unban_IP/([0-9.]+)$ action.php?action=unban_ip&id=$1 [L]
39 RewriteRule ^delete_IP_IDs/([0-9.]+)$ action.php?action=delete_ip_ids&id=$1 [L]
40 RewriteRule ^nuke_IP/([0-9.]+)$ action.php?action=nuke_ip&id=$1 [L]
41 RewriteRule ^nuke_ID/([0-9a-zA-Z.]+)$ action.php?action=nuke_id&id=$1 [L]
42 RewriteRule ^delete_topic/([0-9]+)$ action.php?action=delete_topic&id=$1 [L]
43 RewriteRule ^delete_reply/([0-9]+)$ action.php?action=delete_reply&id=$1 [L]
44 RewriteRule ^delete_page/([0-9]+)$ action.php?action=delete_page&id=$1 [L]
45 RewriteRule ^CMS$ content_management.php [L]
46 RewriteRule ^edit_page/([0-9]+)$ edit_content.php?edit=$1 [L]
47 RewriteRule ^new_page$ edit_content.php [L]
48 RewriteRule ^watch_topic$ action.php?action=watch_topic [L]
49 RewriteRule ^watch_topic/([0-9]+)$ action.php?action=watch_topic&id=$1 [L]
50 RewriteRule ^trivia_for_topic/([0-9]+)$ topic_trivia.php?id=$1 [L]
51 RewriteRule ^exterminate$ exterminate.php [L]