Reporting /pco/432639

Current time: 2025-10-09 10:35:10.050


load average: 3.31, 2.51, 1.59
total load time: 1.9435s
code time: 1.9367s;
query time: 0.0068s
code time percentage: 99.6501%
query time percentage: 0.3499%
queries: 6
memory usage: 1.01MB
memory peak: 5.83MB


Controls:

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

Time log:

1760031308.10669398: beginning

1760031308.106693 - 0.000000 (0.000000s): log starting

1760031308.106995 - 0.000301 (0.000301s): kobak\debug: setting up new instance

1760031308.107000 - 0.000306 (0.000005s): kobak\cfg: setting up new instance

1760031308.107048 - 0.000354 (0.000048s): kobak\debug: setting up new instance

1760031308.107053 - 0.000359 (0.000005s): kobak\debug: finished setup

1760031308.107055 - 0.000361 (0.000002s): kobak\cfg: finished setup

1760031308.107057 - 0.000363 (0.000002s): kobak\debug: finished setup

1760031308.107058 - 0.000364 (0.000001s): core files loaded

1760031309.617915 - 1.511221 (1.510857s): kobak\controls: setting up new instance

1760031309.617924 - 1.511230 (0.000009s): kobak\controls: finished setup

1760031309.617927 - 1.511233 (0.000003s): kobak\modules: setting up new instance

1760031309.617929 - 1.511235 (0.000002s): kobak\modules: finished setup

1760031309.617964 - 1.511270 (0.000035s): kobak\plugins: setting up new instance

1760031309.617967 - 1.511273 (0.000003s): kobak\plugins: finished setup

1760031309.617980 - 1.511286 (0.000013s): kobak\modules: loading module geoip

1760031309.617984 - 1.511290 (0.000004s): kobak\pages: setting up new instance

1760031309.617992 - 1.511298 (0.000008s): kobak\pages: finished setup

1760031309.618016 - 1.511322 (0.000024s): kobak\modules: finished loading module "geoip"

1760031309.618023 - 1.511329 (0.000007s): kobak\modules: loading module kobak

1760031309.618283 - 1.511589 (0.000260s): kobak\kobak: setting up new instance

1760031309.618296 - 1.511602 (0.000013s): kobak\kobak: finished setup

1760031309.618299 - 1.511605 (0.000003s): kobak\cache: setting up new instance

1760031310.040676 - 1.933982 (0.422377s): kobak\cache: mode selected: memcached

1760031310.040997 - 1.934303 (0.000321s): kobak\cache: finished setup

1760031310.041002 - 1.934308 (0.000005s): kobak\cache: loading cache file: kobak_cache

1760031310.041011 - 1.934317 (0.000009s): kobak\cache: checking cache file: kobak_cache

1760031310.041150 - 1.934456 (0.000139s): kobak\cache: finished checking cache file: kobak_cache

1760031310.041458 - 1.934764 (0.000308s): kobak\cache: finished loading cache file: kobak_cache

1760031310.041471 - 1.934777 (0.000013s): kobak\errors: setting up new instance

1760031310.041479 - 1.934785 (0.000008s): kobak\errors: finished setup

1760031310.041564 - 1.934870 (0.000085s): kobak\current: setting up new instance

1760031310.041569 - 1.934875 (0.000005s): kobak\current: finished setup

1760031310.041741 - 1.935047 (0.000172s): kobak\modules: finished loading module "kobak"

1760031310.041757 - 1.935063 (0.000016s): kobak\modules: loading module torcheck

1760031310.041787 - 1.935093 (0.000030s): kobak\modules: finished loading module "torcheck"

1760031310.041810 - 1.935116 (0.000023s): kobak\modules: finished loading 3 module(s)

1760031310.041813 - 1.935119 (0.000003s): kobak\current: creating default rewrite rules

1760031310.041814 - 1.935120 (0.000001s): kobak\current: starting validation of current section

1760031310.041831 - 1.935137 (0.000017s): kobak\current: finished validating section

1760031310.041836 - 1.935142 (0.000005s): kobak\current: finished validating prerequisites

1760031310.041838 - 1.935144 (0.000002s): kobak\current: finished validating optional inputs

1760031310.041858 - 1.935164 (0.000020s): KOBAK BBS: validating board

1760031310.041941 - 1.935247 (0.000083s): kobak\db: setting up new instance

1760031310.041943 - 1.935249 (0.000002s): kobak\db: Attempting to connect to database

1760031310.042387 - 1.935693 (0.000444s): kobak\db: Successfully connected to database

1760031310.042437 - 1.935743 (0.000050s): kobak\db: finished setup

1760031310.042444 - 1.935750 (0.000007s): kobak\ban: query: querying items

1760031310.043093 - 1.936399 (0.000649s): KOBAK BBS: loading board specific plugins

1760031310.043250 - 1.936556 (0.000157s): KOBAK BBS: finished loading board specific plugins

1760031310.043258 - 1.936564 (0.000008s): KOBAK BBS: validating post

1760031310.043280 - 1.936586 (0.000022s): kobak\post: query: querying posts

1760031310.048615 - 1.941921 (0.005335s): kobak\post: query: presorting post keys

1760031310.048644 - 1.941950 (0.000029s): kobak\post: query: presorting post keys: done

1760031310.048646 - 1.941952 (0.000002s): kobak\post: query: building post files query

1760031310.048647 - 1.941953 (0.000001s): kobak\post: query: getting post files

1760031310.049169 - 1.942475 (0.000522s): kobak\post: query: post files query done

1760031310.049170 - 1.942476 (0.000001s): kobak\post: query: pairing posts and post files

1760031310.049172 - 1.942478 (0.000002s): kobak\post: query: sorting post files

1760031310.049173 - 1.942479 (0.000001s): kobak\post: query: post files setup completed

1760031310.049174 - 1.942480 (0.000001s): kobak\post: query: constructing post objects

1760031310.049366 - 1.942672 (0.000192s): kobak\post: query: constructing post objects done

1760031310.049369 - 1.942675 (0.000003s): kobak\post: query: starting lookups for thread locked statuses

1760031310.049379 - 1.942685 (0.000010s): kobak\post: query: querying unknown locked thread statuses

1760031310.049563 - 1.942869 (0.000184s): kobak\post: query: applying unknown locked thread statuses

1760031310.049569 - 1.942875 (0.000006s): kobak\post: query: setting up references/backlinks

1760031310.049577 - 1.942883 (0.000008s): kobak\post: get_posts: querying out-of-thread quotes

1760031310.049701 - 1.943007 (0.000124s): kobak\post: get_posts: applying quote backlinks to posts

1760031310.049744 - 1.943050 (0.000043s): kobak\post: query: finished.

1760031310.049760 - 1.943066 (0.000016s): KOBAK BBS: validating report

1760031310.049939 - 1.943245 (0.000179s): kobak\current: Template file found

1760031310.049940 - 1.943246 (0.000001s): kobak\current: setting up HTML vars

1760031310.049944 - 1.943250 (0.000004s): kobak\html: setting up new instance

1760031310.049961 - 1.943267 (0.000017s): kobak\html: finished setup

1760031310.049963 - 1.943269 (0.000002s): kobak\current: setting up per-page HTML vars

1760031310.049993 - 1.943299 (0.000030s): KOBAK BBS: loading report

1760031310.050002 - 1.943308 (0.000009s): kobak\current: finished setting up all HTML vars

1760031310.050004 - 1.943310 (0.000002s): start rendering html

1760031310.050025 - 1.943331 (0.000021s): loading report

1760031310.050035 - 1.943341 (0.000010s): called header.php

1760031310.050115 - 1.943421 (0.000080s): called footer.php

1760031310.050117 - 1.943423 (0.000002s): completed rendering most of the html

1760031310.050139 - 1.943445 (0.000022s): log finished

1760031310.050283 - 1.943589 (0.000144s): starting debug_t


1760031310.05057700: end


SQL statistics:

time taken: 0.00059509 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.00530791 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` = '432639' AND p.`deleted` != '1' LIMIT 1 no error (prepared query)
time taken: 0.00050592 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` = '432639' AND p.`deleted` != '1' LIMIT 1 ) as sub) no rows found or affected (prepared query)
time taken: 0.00017405 SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 9 AND `postid` IN(428005)) AND `deleted` != 1 no error
time taken: 0.00011396 SELECT `boardid`, `parentid`, `postid` FROM `kobapost` WHERE (`boardid` = 9 AND `postid` IN(432635)) AND `deleted` != 1 no error
time taken: 0.00011992 SELECT * FROM `kobareport` WHERE `boardid` = '9' AND `postid` = '432639' LIMIT 1 no rows found or affected (prepared query)

actions:

after_modules_load actions: 1 start: 1760031310.04179100 end: 1760031310.04180500 took (total): 0.000014
before_validation actions: 1 start: 1760031310.04182100 end: 1760031310.04182500 took (total): 0.000004
header_meta actions: 4 start: 1760031310.05003900 end: 1760031310.05006000 took (total): 0.000021
setup_html actions: 2 start: 1760031310.04997000 end: 1760031310.05000000 took (total): 0.000030
validation actions: 3 start: 1760031310.04184200 end: 1760031310.04990400 took (total): 0.008062

APCU extension loaded: YES

APCU function exists: YES

APCU enabled? YES

Memchache class exists? no

Memchached class exists? YES

Redis class exists? YES

Mode selected in config: memcached

Currently using: memcached

array(1) { ["localhost:11211"]=> array(89) { ["pid"]=> int(621) ["uptime"]=> int(4921365) ["time"]=> int(1760031308) ["version"]=> string(5) "1.6.9" ["libevent"]=> string(13) "2.1.12-stable" ["pointer_size"]=> int(64) ["rusage_user"]=> float(261.45798) ["rusage_system"]=> float(228.18829) ["max_connections"]=> int(1024) ["curr_connections"]=> int(242) ["total_connections"]=> int(329391) ["rejected_connections"]=> int(5901) ["connection_structures"]=> int(997) ["response_obj_oom"]=> int(0) ["response_obj_count"]=> int(1) ["response_obj_bytes"]=> int(65536) ["read_buf_count"]=> int(15) ["read_buf_bytes"]=> int(245760) ["read_buf_bytes_free"]=> int(163840) ["read_buf_oom"]=> int(0) ["reserved_fds"]=> int(20) ["cmd_get"]=> int(2866) ["cmd_set"]=> int(4393) ["cmd_flush"]=> int(26) ["cmd_touch"]=> int(0) ["cmd_meta"]=> int(0) ["get_hits"]=> int(2866) ["get_misses"]=> int(0) ["get_expired"]=> int(0) ["get_flushed"]=> int(1) ["delete_misses"]=> int(6) ["delete_hits"]=> int(790) ["incr_misses"]=> int(0) ["incr_hits"]=> int(0) ["decr_misses"]=> int(0) ["decr_hits"]=> int(0) ["cas_misses"]=> int(0) ["cas_hits"]=> int(0) ["cas_badval"]=> int(0) ["touch_hits"]=> int(0) ["touch_misses"]=> int(0) ["auth_cmds"]=> int(0) ["auth_errors"]=> int(0) ["bytes_read"]=> int(758163021) ["bytes_written"]=> int(3230681715) ["limit_maxbytes"]=> int(67108864) ["accepting_conns"]=> int(1) ["listen_disabled_num"]=> int(0) ["time_in_listen_disabled_us"]=> int(0) ["threads"]=> int(4) ["conn_yields"]=> int(0) ["hash_power_level"]=> int(16) ["hash_bytes"]=> int(524288) ["hash_is_expanding"]=> int(0) ["slab_reassign_rescues"]=> int(0) ["slab_reassign_chunk_rescues"]=> int(0) ["slab_reassign_evictions_nomem"]=> int(0) ["slab_reassign_inline_reclaim"]=> int(0) ["slab_reassign_busy_items"]=> int(0) ["slab_reassign_busy_deletes"]=> int(0) ["slab_reassign_running"]=> int(0) ["slabs_moved"]=> int(1) ["lru_crawler_running"]=> int(0) ["lru_crawler_starts"]=> int(1394) ["lru_maintainer_juggles"]=> int(4949484) ["malloc_fails"]=> int(0) ["log_worker_dropped"]=> int(0) ["log_worker_written"]=> int(0) ["log_watcher_skipped"]=> int(0) ["log_watcher_sent"]=> int(0) ["unexpected_napi_ids"]=> int(0) ["round_robin_fallback"]=> int(0) ["bytes"]=> int(48060061) ["curr_items"]=> int(199) ["total_items"]=> int(1527) ["slab_global_page_pool"]=> int(0) ["expired_unfetched"]=> int(36) ["evicted_unfetched"]=> int(190) ["evicted_active"]=> int(0) ["evictions"]=> int(195) ["reclaimed"]=> int(37) ["crawler_reclaimed"]=> int(0) ["crawler_items_checked"]=> int(0) ["lrutail_reflocked"]=> int(825) ["moves_to_cold"]=> int(1116) ["moves_to_warm"]=> int(655) ["moves_within_lru"]=> int(2047) ["direct_reclaims"]=> int(425) ["lru_bumps_dropped"]=> int(0) } }

Used memory:
Notice: Undefined variable: apcu in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157

Notice: Trying to access array offset on value of type null in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157

Warning: array_column() expects parameter 1 to be array, null given in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157

Warning: array_sum() expects parameter 1 to be array, null given in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157
empty file!

Available memory:
Notice: Undefined variable: apcu_sma in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 158

Notice: Trying to access array offset on value of type null in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 158
empty file!

key hits
kobak_banners 0 (current)
kobak_thread-23-231176 0 (current)
kobak_thread-23-248689 0 (current)
kobak_summary-23-276497 0 (current)
kobak_summary-23-269545 0 (current)
kobak_summary-23-113722 0 (current)
kobak_summary-23-271738 0 (current)
kobak_summary-20-206665 0 (current)
kobak_summary-20-191910 0 (current)
kobak_summary-20-203880 0 (current)
kobak_summary-20-204006 0 (current)
kobak_summary-20-204992 0 (current)
kobak_summary-20-208503 0 (current)
kobak_summary-2-446145 0 (current)
kobak_summary-2-477560 0 (current)
kobak_summary-2-473711 0 (current)
kobak_summary-2-229052 0 (current)
kobak_summary-9-437531 0 (current)
kobak_summary-9-173329 0 (current)
kobak_summary-9-432717 0 (current)
kobak_summary-9-428291 0 (current)
kobak_summary-9-419560 0 (current)
kobak_summary-9-217949 0 (current)
kobak_summary-9-447037 0 (current)
kobak_summary-9-445062 0 (current)
kobak_thread-23-207332 0 (current)
kobak_summary-4-90667 0 (current)
kobak_summary-4-88596 0 (current)
kobak_summary-4-88632 0 (current)
kobak_summary-1-423827 0 (current)
kobak_summary-1-428790 0 (current)
kobak_summary-1-435309 0 (current)
kobak_summary-1-392237 0 (current)
kobak_summary-23-158588 0 (current)
kobak_summary-23-281327 0 (current)
kobak_summary-23-8 0 (current)
kobak_summary-23-282265 0 (current)
kobak_summary-23-229702 0 (current)
kobak_summary-20-194340 0 (current)
kobak_summary-20-204892 0 (current)
kobak_summary-20-177807 0 (current)
kobak_summary-20-173225 0 (current)
kobak_summary-20-23478 0 (current)
kobak_summary-20-126586 0 (current)
kobak_summary-20-205694 0 (current)
kobak_summary-20-209324 0 (current)
kobak_summary-2-479956 0 (current)
kobak_summary-2-472968 0 (current)
kobak_summary-2-464198 0 (current)
kobak_summary-2-439736 0 (current)
kobak_summary-2-238289 0 (current)
kobak_summary-2-458439 0 (current)
kobak_summary-2-230889 0 (current)
kobak_summary-2-227257 0 (current)
kobak_summary-9-443898 0 (current)
kobak_summary-9-422463 0 (current)
kobak_summary-9-167209 0 (current)
kobak_summary-9-422824 0 (current)
kobak_summary-9-190611 0 (current)
kobak_summary-9-446217 0 (current)
kobak_summary-9-438359 0 (current)
kobak_summary-4-89059 0 (current)
kobak_summary-4-420922 0 (current)
kobak_summary-4-420180 0 (current)
kobak_summary-4-88629 0 (current)
kobak_summary-4-417869 0 (current)
kobak_summary-4-417757 0 (current)
kobak_summary-4-93146 0 (current)
kobak_summary-4-421215 0 (current)
kobak_summary-4-418386 0 (current)
kobak_summary-1-429090 0 (current)
kobak_summary-1-427066 0 (current)
kobak_summary-1-429155 0 (current)
kobak_summary-1-435394 0 (current)
kobak_summary-1-431187 0 (current)
kobak_summary-1-428922 0 (current)
kobak_summary-1-427743 0 (current)
kobak_summary-1-435755 0 (current)
kobak_summary-1-430333 0 (current)
kobak_summary-23-275533 0 (current)
kobak_summary-23-277491 0 (current)
kobak_summary-23-280309 0 (current)
kobak_summary-23-17780 0 (current)
kobak_summary-23-283222 0 (current)
kobak_thread-23-226053 0 (current)
kobak_thread-23-140486 0 (current)
kobak_summary-2-242207 0 (current)
kobak_summary-2-227430 0 (current)
kobak_summary-4-420986 0 (current)
kobak_summary-4-418253 0 (current)
kobak_summary-4-88885 0 (current)
kobak_summary-1-391813 0 (current)
kobak_thread-23-175525 0 (current)
kobak_thread-23-195835 0 (current)
kobak_summary-2-473824 0 (current)
kobak_summary-23-241198 0 (current)
kobak_thread-6-419995 0 (current)
kobak_thread-23-223945 0 (current)
kobak_thread-23-195801 0 (current)
kobak_thread-23-158588 0 (current)
tor_exit_list 0 (current)
kobak_summary-1-419846 0 (current)
kobak_thread-12-117741 0 (current)
kobak_thread-23-149072 0 (current)
kobak_thread-9-476900 0 (current)
kobak_thread-23-113722 0 (current)
kobak_thread-23-269545 0 (current)
kobak_thread-23-189485 0 (current)
kobak_thread-23-241198 0 (current)
kobak_thread-23-198531 0 (current)
kobak_board-23-index_page-1 0 (current)
kobak_thread-20-155659 0 (current)
kobak_thread-23-271738 0 (current)
kobak_board-2-index_page-1 0 (current)
kobak_board-9-index_page-13 0 (current)
kobak_board-4-index_page-1 0 (current)
kobak_thread-20-209324 0 (current)
kobak_thread-23-229702 0 (current)
kobak_thread-9-471837 0 (current)
kobak_thread-9-465317 0 (current)
kobak_thread-9-464760 0 (current)
kobak_thread-9-439595 0 (current)
kobak_thread-2-227776 0 (current)
kobak_thread-23-283222 0 (current)
kobak_thread-23-209297 0 (current)
kobak_thread-23-256159 0 (current)
kobak_thread-23-154669 0 (current)
kobak_thread-23-210228 0 (current)
kobak_thread-23-257111 0 (current)
kobak_thread-23-211166 0 (current)
kobak_thread-23-155653 0 (current)
kobak_thread-23-258099 0 (current)
kobak_thread-23-212094 0 (current)
kobak_thread-23-156594 0 (current)
kobak_thread-23-259049 0 (current)
kobak_thread-23-260056 0 (current)
kobak_thread-23-157531 0 (current)
kobak_thread-23-213038 0 (current)
kobak_thread-23-214011 0 (current)
kobak_thread-23-158471 0 (current)
kobak_thread-23-261971 0 (current)
kobak_thread-23-214942 0 (current)
kobak_thread-23-159431 0 (current)
kobak_thread-23-263017 0 (current)
kobak_thread-23-160435 0 (current)
kobak_thread-23-263967 0 (current)
kobak_catalog-20 0 (current)
kobak_thread-23-216902 0 (current)
kobak_thread-23-161359 0 (current)
kobak_thread-23-217854 0 (current)
kobak_thread-23-218823 0 (current)
kobak_thread-23-163296 0 (current)
kobak_thread-23-265884 0 (current)
kobak_thread-23-266840 0 (current)
kobak_thread-23-164215 0 (current)
kobak_thread-23-165164 0 (current)
kobak_thread-23-220710 0 (current)
kobak_thread-23-267774 0 (current)
kobak_thread-23-166153 0 (current)
kobak_thread-23-221648 0 (current)
kobak_thread-23-268788 0 (current)
kobak_thread-23-107360 0 (current)
kobak_thread-23-167072 0 (current)
kobak_thread-23-222587 0 (current)
kobak_thread-23-108291 0 (current)
kobak_thread-23-168004 0 (current)
kobak_thread-23-269755 0 (current)
kobak_thread-23-223614 0 (current)
kobak_thread-23-168967 0 (current)
kobak_thread-23-109262 0 (current)
kobak_thread-23-270721 0 (current)
kobak_thread-23-110276 0 (current)
kobak_thread-23-224569 0 (current)
kobak_thread-23-271651 0 (current)
kobak_thread-23-170951 0 (current)
kobak_thread-23-111262 0 (current)
kobak_thread-23-225484 0 (current)
kobak_thread-23-272690 0 (current)
kobak_thread-23-171898 0 (current)
kobak_thread-23-112243 0 (current)

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]