Deleting /pco/433393

Current time: 2025-10-09 10:06:23.200


load average: 0.72, 0.55, 0.38
total load time: 0.0065s
code time: 0.0028s;
query time: 0.0037s
code time percentage: 43.0769%
query time percentage: 56.9231%
queries: 5
memory usage: 1,013kB
memory peak: 1,021kB


Controls:

sectionstring(6) "delete"
pagenumberstring(0) ""
extstring(4) "html"
extendedparamsarray(2) { ["board"]=> string(3) "pco" ["post"]=> string(6) "433393" }
langNULL

Time log:

1760029583.19410801: beginning

1760029583.194108 - 0.000000 (0.000000s): log starting

1760029583.194350 - 0.000242 (0.000242s): kobak\debug: setting up new instance

1760029583.194353 - 0.000245 (0.000003s): kobak\cfg: setting up new instance

1760029583.194381 - 0.000273 (0.000028s): kobak\debug: setting up new instance

1760029583.194385 - 0.000277 (0.000004s): kobak\debug: finished setup

1760029583.194387 - 0.000279 (0.000002s): kobak\cfg: finished setup

1760029583.194388 - 0.000280 (0.000001s): kobak\debug: finished setup

1760029583.194389 - 0.000281 (0.000001s): core files loaded

1760029583.194416 - 0.000308 (0.000027s): kobak\controls: setting up new instance

1760029583.194420 - 0.000312 (0.000004s): kobak\controls: finished setup

1760029583.194421 - 0.000313 (0.000001s): kobak\modules: setting up new instance

1760029583.194422 - 0.000314 (0.000001s): kobak\modules: finished setup

1760029583.194445 - 0.000337 (0.000023s): kobak\plugins: setting up new instance

1760029583.194447 - 0.000339 (0.000002s): kobak\plugins: finished setup

1760029583.194456 - 0.000348 (0.000009s): kobak\modules: loading module geoip

1760029583.194458 - 0.000350 (0.000002s): kobak\pages: setting up new instance

1760029583.194464 - 0.000356 (0.000006s): kobak\pages: finished setup

1760029583.194481 - 0.000373 (0.000017s): kobak\modules: finished loading module "geoip"

1760029583.194486 - 0.000378 (0.000005s): kobak\modules: loading module kobak

1760029583.194646 - 0.000538 (0.000160s): kobak\kobak: setting up new instance

1760029583.194652 - 0.000544 (0.000006s): kobak\kobak: finished setup

1760029583.194654 - 0.000546 (0.000002s): kobak\cache: setting up new instance

1760029583.195175 - 0.001067 (0.000521s): kobak\cache: mode selected: apcu

1760029583.195181 - 0.001073 (0.000006s): kobak\cache: finished setup

1760029583.195186 - 0.001078 (0.000005s): kobak\cache: loading cache file: kobak_cache

1760029583.195191 - 0.001083 (0.000005s): kobak\cache: checking cache file: kobak_cache

1760029583.195196 - 0.001088 (0.000005s): kobak\cache: finished checking cache file: kobak_cache

1760029583.195418 - 0.001310 (0.000222s): kobak\cache: finished loading cache file: kobak_cache

1760029583.195423 - 0.001315 (0.000005s): kobak\errors: setting up new instance

1760029583.195428 - 0.001320 (0.000005s): kobak\errors: finished setup

1760029583.195468 - 0.001360 (0.000040s): kobak\current: setting up new instance

1760029583.195471 - 0.001363 (0.000003s): kobak\current: finished setup

1760029583.195611 - 0.001503 (0.000140s): kobak\modules: finished loading module "kobak"

1760029583.195621 - 0.001513 (0.000010s): kobak\modules: loading module torcheck

1760029583.195636 - 0.001528 (0.000015s): kobak\modules: finished loading module "torcheck"

1760029583.195651 - 0.001543 (0.000015s): kobak\modules: finished loading 3 module(s)

1760029583.195653 - 0.001545 (0.000002s): kobak\current: creating default rewrite rules

1760029583.195654 - 0.001546 (0.000001s): kobak\current: starting validation of current section

1760029583.195668 - 0.001560 (0.000014s): kobak\current: finished validating section

1760029583.195672 - 0.001564 (0.000004s): kobak\current: finished validating prerequisites

1760029583.195674 - 0.001566 (0.000002s): kobak\current: finished validating optional inputs

1760029583.195685 - 0.001577 (0.000011s): KOBAK BBS: validating board

1760029583.195720 - 0.001612 (0.000035s): kobak\db: setting up new instance

1760029583.195722 - 0.001614 (0.000002s): kobak\db: Attempting to connect to database

1760029583.196103 - 0.001995 (0.000381s): kobak\db: Successfully connected to database

1760029583.196209 - 0.002101 (0.000106s): kobak\db: finished setup

1760029583.196216 - 0.002108 (0.000007s): kobak\ban: query: querying items

1760029583.196676 - 0.002568 (0.000460s): KOBAK BBS: loading board specific plugins

1760029583.196811 - 0.002703 (0.000135s): KOBAK BBS: finished loading board specific plugins

1760029583.196816 - 0.002708 (0.000005s): KOBAK BBS: validating post

1760029583.196831 - 0.002723 (0.000015s): kobak\post: query: querying posts

1760029583.199197 - 0.005089 (0.002366s): kobak\post: query: presorting post keys

1760029583.199217 - 0.005109 (0.000020s): kobak\post: query: presorting post keys: done

1760029583.199218 - 0.005110 (0.000001s): kobak\post: query: building post files query

1760029583.199219 - 0.005111 (0.000001s): kobak\post: query: getting post files

1760029583.199852 - 0.005744 (0.000633s): kobak\post: query: post files query done

1760029583.199854 - 0.005746 (0.000002s): kobak\post: query: pairing posts and post files

1760029583.199855 - 0.005747 (0.000001s): kobak\post: query: sorting post files

1760029583.199857 - 0.005749 (0.000002s): kobak\post: query: post files setup completed

1760029583.199858 - 0.005750 (0.000001s): kobak\post: query: constructing post objects

1760029583.199915 - 0.005807 (0.000057s): kobak\post: query: constructing post objects done

1760029583.199917 - 0.005809 (0.000002s): kobak\post: query: starting lookups for thread locked statuses

1760029583.199922 - 0.005814 (0.000005s): kobak\post: query: querying unknown locked thread statuses

1760029583.200127 - 0.006019 (0.000205s): kobak\post: query: applying unknown locked thread statuses

1760029583.200132 - 0.006024 (0.000005s): kobak\post: query: setting up references/backlinks

1760029583.200138 - 0.006030 (0.000006s): kobak\post: get_posts: querying out-of-thread quotes

1760029583.200259 - 0.006151 (0.000121s): kobak\post: get_posts: applying quote backlinks to posts

1760029583.200340 - 0.006232 (0.000081s): kobak\post: query: finished.

1760029583.200357 - 0.006249 (0.000017s): KOBAK BBS: validating delete

1760029583.200391 - 0.006283 (0.000034s): kobak\current: Template file found

1760029583.200393 - 0.006285 (0.000002s): kobak\current: setting up HTML vars

1760029583.200396 - 0.006288 (0.000003s): kobak\html: setting up new instance

1760029583.200410 - 0.006302 (0.000014s): kobak\html: finished setup

1760029583.200413 - 0.006305 (0.000003s): kobak\current: setting up per-page HTML vars

1760029583.200439 - 0.006331 (0.000026s): KOBAK BBS: loading delete

1760029583.200446 - 0.006338 (0.000007s): kobak\current: finished setting up all HTML vars

1760029583.200448 - 0.006340 (0.000002s): start rendering html

1760029583.200460 - 0.006352 (0.000012s): loading report

1760029583.200469 - 0.006361 (0.000009s): called header.php

1760029583.200514 - 0.006406 (0.000045s): called footer.php

1760029583.200516 - 0.006408 (0.000002s): completed rendering most of the html

1760029583.200534 - 0.006426 (0.000018s): log finished

1760029583.200639 - 0.006531 (0.000105s): starting debug_t


1760029583.20093600: end


SQL statistics:

time taken: 0.00043488 SELECT b.*, ppass.`password`, ( SELECT GROUP_CONCAT(DISTINCT `kobaboardban`.`boardid` ORDER BY `kobaboardban`.`boardid` SEPARATOR ',') FROM `kobaboardban` WHERE `banid` = b.`id` GROUP BY `banid` ) AS `active_boards` FROM `kobaban` as b LEFT JOIN `kobafingerprint` fp ON b.`fingerprint_id` = fp.`id` LEFT JOIN `kobapostpassword` ppass ON b.`password_id` = ppass.`id` WHERE ( (`iplong1` = 'd849d8d8') OR (`iplong1` <= 'd849d8d8' AND 'd849d8d8' <= `iplong2`) ) AND `type` IN(-1,0,1,2,3) AND (b.`id` IN ( SELECT `banid` FROM `kobaboardban` WHERE `boardid` IN(9) ) OR `global` = 1) ORDER BY `type`,`expiration` DESC no rows found or affected (prepared query)
time taken: 0.00234795 SELECT p.*, ppass.`password`, ipinfo.`ipmd5`, ipinfo.`ipcrypt`, r.time r_time, r.reason r_reason, r.ipmd5 r_ipmd5, r.ipcrypt r_ipcrypt, r.password r_password, r.userid r_userid, s.pagenumber, s.total_posts, s.total_files, s.total_image, s.total_audio, s.total_video, s.total_swf, s.unique_ip, s.unique_user FROM `kobapost` p LEFT JOIN `kobareport` r ON p.`boardid` = r.`boardid` AND p.`postid` = r.`postid` LEFT JOIN `kobapoststats` s ON p.`boardid` = s.`boardid` AND p.`postid` = s.`threadid` LEFT JOIN `kobapostpassword` ppass ON p.`password_id` = ppass.`id` LEFT JOIN `kobaipinfo` ipinfo ON p.`ip_id` = ipinfo.`id` WHERE p.`boardid` = '9' AND p.`postid` = '433393' AND p.`deleted` != '1' LIMIT 1 no error (prepared query)
time taken: 0.00061917 SELECT pf.`pfid`, pf.`order`, pf.`filename`, pf.`thumb`, f.* FROM `kobapostfile` pf LEFT JOIN `kobafile` f ON pf.`fileid` = f.`id` WHERE (pf.`pfid`) IN( SELECT * FROM( SELECT p.`id` FROM `kobapost` p LEFT JOIN `kobareport` r ON p.`boardid` = r.`boardid` AND p.`postid` = r.`postid` LEFT JOIN `kobapostfile` pf ON p.`id` = pf.`pfid` LEFT JOIN `kobafile` f ON pf.`fileid` = f.`id` LEFT JOIN `kobapostpassword` ppass ON p.`password_id` = ppass.`id` LEFT JOIN `kobaipinfo` ipinfo ON p.`ip_id` = ipinfo.`id` WHERE p.`boardid` = '9' AND p.`postid` = '433393' AND p.`deleted` != '1' LIMIT 1 ) as sub) no rows found or affected (prepared query)
time taken: 0.00019503 SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 9 AND `postid` IN(161935)) AND `deleted` != 1 no error
time taken: 0.00010896 SELECT `boardid`, `parentid`, `postid` FROM `kobapost` WHERE (`boardid` = 9 AND `postid` IN(433390)) AND `deleted` != 1 no error

actions:

after_modules_load actions: 1 start: 1760029583.19563800 end: 1760029583.19564700 took (total): 0.000009
before_validation actions: 1 start: 1760029583.19565900 end: 1760029583.19566400 took (total): 0.000005
header_meta actions: 4 start: 1760029583.20047200 end: 1760029583.20049100 took (total): 0.000019
setup_html actions: 2 start: 1760029583.20041800 end: 1760029583.20044400 took (total): 0.000026
validation actions: 3 start: 1760029583.19567700 end: 1760029583.20036900 took (total): 0.004692

APCU extension loaded: YES

APCU function exists: YES

APCU enabled? YES

Memchache class exists? no

Memchached class exists? no

Redis class exists? YES

Mode selected in config: apcu

Currently using: apcu

Used memory: 6.62MB

Available memory: 988.38MB

key created ttl deletes in hits size
kobak_thread-20-205694 2025-10-09 17:06:06.000 86400 sec 111583 sec 0 (current) / 0 (ever) 130kB
kobak_summary-2-229052 2025-10-09 17:05:55.000 43200 sec 68372 sec 0 (current) / 0 (ever) 4kB
kobak_thread-3-429896 2025-10-09 17:05:54.000 86400 sec 111571 sec 0 (current) / 0 (ever) 77kB
kobak_summary-20-173225 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-427066 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-427743 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-20-203880 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-428790 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-428922 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-472968 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 4kB
kobak_summary-20-204006 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_thread-20-208503 2025-10-09 17:06:06.000 86400 sec 111583 sec 0 (current) / 10 (ever) 220kB
kobak_thread-20-23478 2025-10-09 17:06:07.000 86400 sec 111584 sec 0 (current) / 0 (ever) 246kB
kobak_summary-20-204892 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 5kB
kobak_summary-1-429090 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-20-204992 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-429155 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 5kB
kobak_summary-20-126586 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 5kB
kobak_cache 2025-10-09 17:05:48.000 43200 sec 68365 sec 1 (current) / 832 (ever) 5kB
kobak_summary-2-473711 2025-10-09 17:05:55.000 43200 sec 68372 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-473824 2025-10-09 17:05:55.000 43200 sec 68372 sec 0 (current) / 0 (ever) 6kB
kobak_thread-20-209324 2025-10-09 17:06:05.000 86400 sec 111582 sec 0 (current) / 0 (ever) 71kB
kobak_summary-20-205694 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_thread-23-247496 2025-10-09 17:06:13.000 86400 sec 111590 sec 0 (current) / 0 (ever) 378kB
kobak_thread-23-220710 2025-10-09 17:06:20.000 86400 sec 111597 sec 0 (current) / 0 (ever) 346kB
kobak_thread-23-283222 2025-10-09 17:05:53.000 86400 sec 111570 sec 0 (current) / 4 (ever) 214kB
kobak_summary-3-433212 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_board-3-index_page-1 2025-10-09 17:06:02.000 86400 sec 111579 sec 0 (current) / 0 (ever) 35kB
kobak_summary-3-420299 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_summary-2-242207 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 6kB
kobak_summary-20-206665 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_thread-23-248435 2025-10-09 17:06:01.000 86400 sec 111578 sec 0 (current) / 0 (ever) 369kB
kobak_thread-23-221648 2025-10-09 17:06:09.000 86400 sec 111586 sec 0 (current) / 0 (ever) 354kB
kobak_thread-23-248689 2025-10-09 17:06:01.000 86400 sec 111578 sec 0 (current) / 0 (ever) 3kB
kobak_summary-2-439736 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 5kB
kobak_summary-20-177807 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-434457 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-434767 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_board-1-index_page-1 2025-10-09 17:06:22.000 86400 sec 111599 sec 0 (current) / 0 (ever) 37kB
kobak_thread-23-222587 2025-10-09 17:05:57.000 86400 sec 111574 sec 0 (current) / 0 (ever) 372kB
kobak_summary-2-230889 2025-10-09 17:05:55.000 43200 sec 68372 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-187306 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-187573 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-419846 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 7kB
kobak_summary-3-422513 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_summary-20-208503 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-477560 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-188461 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-464198 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 4kB
kobak_summary-20-209324 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-423551 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_thread-23-42013 2025-10-09 17:05:59.000 86400 sec 111576 sec 0 (current) / 0 (ever) 410kB
kobak_summary-1-430333 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_board-22-index_page-1 2025-10-09 17:06:14.000 86400 sec 111591 sec 0 (current) / 0 (ever) 5kB
kobak_summary-2-479956 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 5kB
kobak_summary-1-431187 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 5kB
kobak_thread-23-275533 2025-10-09 17:06:20.000 86400 sec 111597 sec 0 (current) / 0 (ever) 349kB
kobak_board-20-index_page-1 2025-10-09 17:06:13.000 86400 sec 111590 sec 0 (current) / 0 (ever) 34kB
kobak_summary-20-191910 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_thread-20-211489 2025-10-09 17:06:05.000 86400 sec 111582 sec 0 (current) / 2 (ever) 52kB
kobak_summary-3-426010 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-426115 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 4kB
kobak_thread-23-276497 2025-10-09 17:06:09.000 86400 sec 111586 sec 0 (current) / 0 (ever) 361kB
kobak_thread-23-200687 2025-10-09 17:06:08.000 86400 sec 111585 sec 0 (current) / 0 (ever) 340kB
kobak_thread-23-277491 2025-10-09 17:05:57.000 86400 sec 111574 sec 0 (current) / 0 (ever) 357kB
kobak_thread-23-201607 2025-10-09 17:05:56.000 86400 sec 111573 sec 0 (current) / 0 (ever) 360kB
kobak_thread-23-199673 2025-10-09 17:06:18.000 86400 sec 111595 sec 0 (current) / 0 (ever) 366kB
kobak_summary-1-391813 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 5kB
kobak_summary-20-194340 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 5kB
kobak_summary-1-392237 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-435309 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-1-435394 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_summary-3-429896 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_summary-1-435755 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_board-2-index_page-1 2025-10-09 17:05:56.000 86400 sec 111573 sec 0 (current) / 2 (ever) 37kB
kobak_summary-2-238289 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 5kB
kobak_summary-20-211489 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-458439 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 5kB
kobak_summary-3-417511 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_summary-1-423827 2025-10-09 17:06:22.000 43200 sec 68399 sec 0 (current) / 0 (ever) 4kB
kobak_catalog-20 2025-10-09 17:05:56.000 86400 sec 111573 sec 0 (current) / 2 (ever) 467kB
kobak_summary-20-23478 2025-10-09 17:06:13.000 43200 sec 68390 sec 0 (current) / 0 (ever) 5kB
kobak_catalog-9 2025-10-09 17:06:12.000 86400 sec 111589 sec 0 (current) / 2 (ever) 374kB
kobak_banners 2025-10-09 17:05:54.000 43200 sec 68371 sec 0 (current) / 44 (ever) 1kB
kobak_summary-3-418824 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_summary-2-446145 2025-10-09 17:05:56.000 43200 sec 68373 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-227257 2025-10-09 17:05:55.000 43200 sec 68372 sec 0 (current) / 0 (ever) 4kB
kobak_summary-2-227430 2025-10-09 17:05:55.000 43200 sec 68372 sec 0 (current) / 0 (ever) 5kB
kobak_summary-3-419233 2025-10-09 17:06:01.000 43200 sec 68378 sec 0 (current) / 0 (ever) 5kB
kobak_thread-20-126586 2025-10-09 17:06:07.000 86400 sec 111584 sec 0 (current) / 0 (ever) 133kB
kobak_summary-22-1 2025-10-09 17:06:14.000 43200 sec 68391 sec 0 (current) / 0 (ever) 5kB

Rewrite/redirect rules:

Redirect /^([a-z_\-0-9]*)\/0.html(?:\?.*)?$/ $matches[1]\/ 302
Redirect /^([a-z_\-0-9]*)\/1.html(?:\?.*)?$/ $matches[1]\/ 302
Rewrite: /^([a-z_\-0-9]*)\/?(?:\?.*)?$/ index.php?section=index&board=$matches[1]
Rewrite: /^([a-z_\-0-9]*)\/([0-9]*)\.html(?:\?.*)?$/ index.php?section=index&board=$matches[1]&pagenumber=$matches[2]
Rewrite: /^([a-z_\-0-9]*)\/catalog\.html(?:\?.*)?$/ index.php?section=catalog&board=$matches[1]
Rewrite: /^([a-z_\-0-9]*)\/t([0-9]*)\.(html|json|rss)(?:\?.*)?$/ index.php?section=thread&board=$matches[1]&thread=$matches[2]&ext=$matches[3]
Rewrite: /^([a-z_\-0-9]*)\/posts_feed\.rss$/ index.php?section=posts_feed&board=$matches[1]&ext=rss
Rewrite: /^([a-z_\-0-9]*)\/threads_feed\.rss$/ index.php?section=threads_feed&board=$matches[1]&ext=rss
Rewrite: /^latest_posts\.rss$/ index.php?section=latest_posts&ext=rss
Rewrite: /^latest_threads\.rss$/ index.php?section=latest_threads&ext=rss
Rewrite: /^latest_nsfw_posts\.rss$/ index.php?section=latest_nsfw_posts&ext=rss
Rewrite: /^latest_nsfw_threads\.rss$/ index.php?section=latest_nsfw_threads&ext=rss

rules in htaccess format:

RewriteRule ^([a-z_\-0-9]*)\/0.html(?:\?.*)?$ $1/ [R=302,L,QSA] RewriteRule ^([a-z_\-0-9]*)\/1.html(?:\?.*)?$ $1/ [R=302,L,QSA] RewriteRule ^([a-z_\-0-9]*)/(?:\?.*)?$ index.php?section=index&board=$1 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/([0-9]*)\.html(?:\?.*)?$ index.php?section=index&board=$1&pagenumber=$2 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/catalog\.html(?:\?.*)?$ index.php?section=catalog&board=$1 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/t([0-9]*)\.(html|json|rss)(?:\?.*)?$ index.php?section=thread&board=$1&thread=$2&ext=$3 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/posts_feed\.rss$ index.php?section=posts_feed&board=$1&ext=rss [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/threads_feed\.rss$ index.php?section=threads_feed&board=$1&ext=rss [L,QSA] RewriteRule ^latest_posts\.rss$ index.php?section=latest_posts&ext=rss [L,QSA] RewriteRule ^latest_threads\.rss$ index.php?section=latest_threads&ext=rss [L,QSA] RewriteRule ^latest_nsfw_posts\.rss$ index.php?section=latest_nsfw_posts&ext=rss [L,QSA] RewriteRule ^latest_nsfw_threads\.rss$ index.php?section=latest_nsfw_threads&ext=rss [L,QSA]