Current time: 2025-10-09 11:52:00.457
load average: 0.38, 0.46, 0.36
total load time: 0.0088s
code time: 0.0063s;
query time: 0.0025s
code time percentage: 71.5909%
query time percentage: 28.4091%
queries: 5
memory usage: 1,022kB
memory peak: 1.01MB
Controls:
section | string(6) "delete" |
pagenumber | string(0) "" |
ext | string(4) "html" |
extendedparams | array(2) { ["board"]=> string(2) "md" ["post"]=> string(6) "187437" } |
lang | NULL |
Time log:
1760035920.44845605: beginning 1760035920.448456 - 0.000000 (0.000000s): log starting 1760035920.448714 - 0.000258 (0.000258s): kobak\debug: setting up new instance 1760035920.448721 - 0.000265 (0.000007s): kobak\cfg: setting up new instance 1760035920.448757 - 0.000301 (0.000036s): kobak\debug: setting up new instance 1760035920.448762 - 0.000306 (0.000005s): kobak\debug: finished setup 1760035920.448764 - 0.000308 (0.000002s): kobak\cfg: finished setup 1760035920.448766 - 0.000310 (0.000002s): kobak\debug: finished setup 1760035920.448767 - 0.000311 (0.000001s): core files loaded 1760035920.448799 - 0.000343 (0.000032s): kobak\controls: setting up new instance 1760035920.448805 - 0.000349 (0.000006s): kobak\controls: finished setup 1760035920.448806 - 0.000350 (0.000001s): kobak\modules: setting up new instance 1760035920.448809 - 0.000353 (0.000003s): kobak\modules: finished setup 1760035920.448840 - 0.000384 (0.000031s): kobak\plugins: setting up new instance 1760035920.448842 - 0.000386 (0.000002s): kobak\plugins: finished setup 1760035920.448853 - 0.000397 (0.000011s): kobak\modules: loading module geoip 1760035920.448856 - 0.000400 (0.000003s): kobak\pages: setting up new instance 1760035920.448863 - 0.000407 (0.000007s): kobak\pages: finished setup 1760035920.448908 - 0.000452 (0.000045s): kobak\modules: finished loading module "geoip" 1760035920.448915 - 0.000459 (0.000007s): kobak\modules: loading module kobak 1760035920.449091 - 0.000635 (0.000176s): kobak\kobak: setting up new instance 1760035920.449097 - 0.000641 (0.000006s): kobak\kobak: finished setup 1760035920.449099 - 0.000643 (0.000002s): kobak\cache: setting up new instance 1760035920.452518 - 0.004062 (0.003419s): kobak\cache: mode selected: redis 1760035920.452528 - 0.004072 (0.000010s): kobak\cache: finished setup 1760035920.452530 - 0.004074 (0.000002s): kobak\cache: loading cache file: kobak_cache 1760035920.452536 - 0.004080 (0.000006s): kobak\cache: checking cache file: kobak_cache 1760035920.452569 - 0.004113 (0.000033s): kobak\cache: finished checking cache file: kobak_cache 1760035920.452830 - 0.004374 (0.000261s): kobak\cache: finished loading cache file: kobak_cache 1760035920.452839 - 0.004383 (0.000009s): kobak\errors: setting up new instance 1760035920.452845 - 0.004389 (0.000006s): kobak\errors: finished setup 1760035920.452909 - 0.004453 (0.000064s): kobak\current: setting up new instance 1760035920.452914 - 0.004458 (0.000005s): kobak\current: finished setup 1760035920.453090 - 0.004634 (0.000176s): kobak\modules: finished loading module "kobak" 1760035920.453104 - 0.004648 (0.000014s): kobak\modules: loading module torcheck 1760035920.453120 - 0.004664 (0.000016s): kobak\modules: finished loading module "torcheck" 1760035920.453139 - 0.004683 (0.000019s): kobak\modules: finished loading 3 module(s) 1760035920.453142 - 0.004686 (0.000003s): kobak\current: creating default rewrite rules 1760035920.453143 - 0.004687 (0.000001s): kobak\current: starting validation of current section 1760035920.453160 - 0.004704 (0.000017s): kobak\current: finished validating section 1760035920.453164 - 0.004708 (0.000004s): kobak\current: finished validating prerequisites 1760035920.453167 - 0.004711 (0.000003s): kobak\current: finished validating optional inputs 1760035920.453179 - 0.004723 (0.000012s): KOBAK BBS: validating board 1760035920.453220 - 0.004764 (0.000041s): kobak\db: setting up new instance 1760035920.453223 - 0.004767 (0.000003s): kobak\db: Attempting to connect to database 1760035920.453648 - 0.005192 (0.000425s): kobak\db: Successfully connected to database 1760035920.453708 - 0.005252 (0.000060s): kobak\db: finished setup 1760035920.453715 - 0.005259 (0.000007s): kobak\ban: query: querying items 1760035920.454677 - 0.006221 (0.000962s): KOBAK BBS: loading board specific plugins 1760035920.454834 - 0.006378 (0.000157s): KOBAK BBS: finished loading board specific plugins 1760035920.454843 - 0.006387 (0.000009s): KOBAK BBS: validating post 1760035920.454862 - 0.006406 (0.000019s): kobak\post: query: querying posts 1760035920.455649 - 0.007193 (0.000787s): kobak\post: query: presorting post keys 1760035920.455674 - 0.007218 (0.000025s): kobak\post: query: presorting post keys: done 1760035920.455675 - 0.007219 (0.000001s): kobak\post: query: building post files query 1760035920.455676 - 0.007220 (0.000001s): kobak\post: query: getting post files 1760035920.456288 - 0.007832 (0.000612s): kobak\post: query: post files query done 1760035920.456290 - 0.007834 (0.000002s): kobak\post: query: pairing posts and post files 1760035920.456292 - 0.007836 (0.000002s): kobak\post: query: sorting post files 1760035920.456294 - 0.007838 (0.000002s): kobak\post: query: post files setup completed 1760035920.456296 - 0.007840 (0.000002s): kobak\post: query: constructing post objects 1760035920.456341 - 0.007885 (0.000045s): kobak\post: query: constructing post objects done 1760035920.456342 - 0.007886 (0.000001s): kobak\post: query: starting lookups for thread locked statuses 1760035920.456348 - 0.007892 (0.000006s): kobak\post: query: querying unknown locked thread statuses 1760035920.456487 - 0.008031 (0.000139s): kobak\post: query: applying unknown locked thread statuses 1760035920.456492 - 0.008036 (0.000005s): kobak\post: query: setting up references/backlinks 1760035920.456499 - 0.008043 (0.000007s): kobak\post: get_posts: querying out-of-thread quotes 1760035920.456614 - 0.008158 (0.000115s): kobak\post: get_posts: applying quote backlinks to posts 1760035920.456669 - 0.008213 (0.000055s): kobak\post: query: finished. 1760035920.456682 - 0.008226 (0.000013s): KOBAK BBS: validating delete 1760035920.456717 - 0.008261 (0.000035s): kobak\current: Template file found 1760035920.456718 - 0.008262 (0.000001s): kobak\current: setting up HTML vars 1760035920.456721 - 0.008265 (0.000003s): kobak\html: setting up new instance 1760035920.456736 - 0.008280 (0.000015s): kobak\html: finished setup 1760035920.456738 - 0.008282 (0.000002s): kobak\current: setting up per-page HTML vars 1760035920.456772 - 0.008316 (0.000034s): KOBAK BBS: loading delete 1760035920.456781 - 0.008325 (0.000009s): kobak\current: finished setting up all HTML vars 1760035920.456783 - 0.008327 (0.000002s): start rendering html 1760035920.456802 - 0.008346 (0.000019s): loading report 1760035920.456811 - 0.008355 (0.000009s): called header.php 1760035920.457199 - 0.008743 (0.000388s): called footer.php 1760035920.457201 - 0.008745 (0.000002s): completed rendering most of the html 1760035920.457221 - 0.008765 (0.000020s): log finished 1760035920.457334 - 0.008878 (0.000113s): starting debug_t
|
SQL statistics:
time taken: 0.00091314 | 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(23) ) OR `global` = 1) ORDER BY `type`,`expiration` DESC | no rows found or affected (prepared query) |
time taken: 0.00076294 | 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` = '23' AND p.`postid` = '187437' AND p.`deleted` != '1' LIMIT 1 | no error (prepared query) |
time taken: 0.00059700 | 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` = '23' AND p.`postid` = '187437' AND p.`deleted` != '1' LIMIT 1 ) as sub) | no rows found or affected (prepared query) |
time taken: 0.00012994 | SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(187145)) AND `deleted` != 1 | no error |
time taken: 0.00010490 | SELECT `boardid`, `parentid`, `postid` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(187436)) AND `deleted` != 1 | no error |
actions:
after_modules_load | actions: 1 | start: 1760035920.45312300 | end: 1760035920.45313500 | took (total): 0.000012 |
before_validation | actions: 1 | start: 1760035920.45315000 | end: 1760035920.45315600 | took (total): 0.000006 |
header_meta | actions: 4 | start: 1760035920.45681400 | end: 1760035920.45716500 | took (total): 0.000351 |
setup_html | actions: 2 | start: 1760035920.45674400 | end: 1760035920.45677900 | took (total): 0.000035 |
validation | actions: 3 | start: 1760035920.45317000 | end: 1760035920.45669300 | took (total): 0.003523 |
APCU extension loaded: YES
APCU function exists: YES
APCU enabled? YES
Memcache class exists? no
Memcached class exists? YES
Redis class exists? YES
Mode selected in config: redis
Currently using: redis
Redis version: 6.2.19
Used memory: 507.67MB
key | ttl | hits |
---|---|---|
kobak_summary-23-8 | 42855 sec | 0 (current) |
kobak_thread-23-168967 | 86128 sec | 0 (current) |
kobak_thread-23-160435 | 86185 sec | 0 (current) |
kobak_thread-9-453195 | 86190 sec | 0 (current) |
kobak_thread-23-226463 | 86118 sec | 0 (current) |
kobak_thread-23-173764 | 86100 sec | 0 (current) |
kobak_summary-23-271738 | 42855 sec | 0 (current) |
kobak_thread-23-251373 | 86219 sec | 0 (current) |
kobak_thread-23-258099 | 86175 sec | 0 (current) |
kobak_banners | 42855 sec | 0 (current) |
kobak_thread-23-263017 | 86146 sec | 0 (current) |
kobak_thread-23-226053 | 86123 sec | 0 (current) |
kobak_thread-23-266840 | 86115 sec | 0 (current) |
kobak_thread-23-157531 | 86206 sec | 0 (current) |
kobak_thread-23-248689 | 86237 sec | 0 (current) |
kobak_thread-23-245619 | 86253 sec | 0 (current) |
kobak_thread-23-230330 | 86094 sec | 0 (current) |
kobak_thread-23-163296 | 86168 sec | 0 (current) |
kobak_thread-23-265884 | 86121 sec | 0 (current) |
kobak_thread-23-252306 | 86214 sec | 0 (current) |
kobak_thread-23-261025 | 86157 sec | 0 (current) |
kobak_thread-23-223614 | 86143 sec | 0 (current) |
kobak_thread-23-176663 | 86082 sec | 0 (current) |
kobak_thread-23-154669 | 86222 sec | 0 (current) |
kobak_thread-23-161359 | 86179 sec | 0 (current) |
kobak_thread-23-225484 | 86124 sec | 0 (current) |
kobak_thread-23-231277 | 86087 sec | 0 (current) |
kobak_thread-23-273644 | 86065 sec | 0 (current) |
kobak_thread-23-212094 | 86220 sec | 0 (current) |
kobak_summary-20-177807 | 42948 sec | 0 (current) |
kobak_thread-23-235111 | 86054 sec | 0 (current) |
kobak_thread-23-241198 | 86261 sec | 0 (current) |
kobak_thread-23-210228 | 86233 sec | 0 (current) |
kobak_thread-23-249419 | 86232 sec | 0 (current) |
kobak_thread-23-209297 | 86239 sec | 0 (current) |
kobak_summary-20-203880 | 42948 sec | 0 (current) |
kobak_summary-23-275533 | 42855 sec | 0 (current) |
kobak_thread-23-168004 | 86134 sec | 0 (current) |
kobak_thread-23-246557 | 86248 sec | 0 (current) |
kobak_thread-23-232271 | 86075 sec | 0 (current) |
kobak_thread-23-153733 | 86228 sec | 0 (current) |
kobak_thread-23-229702 | 86100 sec | 0 (current) |
kobak_thread-23-271738 | 86084 sec | 0 (current) |
kobak_thread-23-213038 | 86215 sec | 0 (current) |
kobak_summary-20-204892 | 42948 sec | 0 (current) |
kobak_thread-23-283222 | 86365 sec | 0 (current) |
kobak_summary-23-158588 | 42855 sec | 0 (current) |
kobak_thread-23-248435 | 86238 sec | 0 (current) |
kobak_thread-23-229371 | 86102 sec | 0 (current) |
kobak_summary-20-204992 | 42948 sec | 0 (current) |
kobak_thread-1-393196 | 86270 sec | 0 (current) |
kobak_thread-23-195835 | 86267 sec | 0 (current) |
kobak_thread-23-219756 | 86167 sec | 0 (current) |
kobak_thread-23-207332 | 86257 sec | 0 (current) |
kobak_thread-2-243042 | 86100 sec | 0 (current) |
kobak_thread-23-260056 | 86163 sec | 0 (current) |
kobak_thread-23-158471 | 86202 sec | 0 (current) |
kobak_thread-23-149882 | 86251 sec | 0 (current) |
kobak_thread-23-152797 | 86233 sec | 0 (current) |
kobak_thread-23-261971 | 86151 sec | 0 (current) |
kobak_thread-23-148838 | 86259 sec | 0 (current) |
kobak_thread-23-224569 | 86129 sec | 0 (current) |
kobak_thread-23-269755 | 86097 sec | 0 (current) |
kobak_thread-23-270721 | 86092 sec | 0 (current) |
kobak_thread-23-179529 | 86057 sec | 0 (current) |
kobak_thread-23-113722 | 86290 sec | 0 (current) |
kobak_summary-20-206665 | 42948 sec | 0 (current) |
kobak_summary-20-23478 | 42948 sec | 0 (current) |
kobak_summary-23-269545 | 42855 sec | 0 (current) |
kobak_thread-23-269545 | 86102 sec | 0 (current) |
kobak_thread-23-250421 | 86225 sec | 0 (current) |
kobak_thread-23-227441 | 86114 sec | 0 (current) |
kobak_thread-23-171898 | 86110 sec | 0 (current) |
kobak_thread-23-164215 | 86162 sec | 0 (current) |
kobak_thread-23-268788 | 86103 sec | 0 (current) |
kobak_thread-23-228405 | 86108 sec | 0 (current) |
kobak_summary-23-276497 | 42855 sec | 0 (current) |
kobak_thread-23-167072 | 86145 sec | 0 (current) |
kobak_thread-23-165164 | 86156 sec | 0 (current) |
kobak_summary-23-229702 | 42855 sec | 0 (current) |
kobak_thread-23-263967 | 86141 sec | 0 (current) |
kobak_summary-20-191910 | 42948 sec | 0 (current) |
kobak_thread-20-114076 | 86059 sec | 0 (current) |
kobak_thread-23-140486 | 86264 sec | 0 (current) |
kobak_thread-23-149072 | 86258 sec | 0 (current) |
kobak_thread-23-198531 | 86265 sec | 0 (current) |
kobak_thread-23-244683 | 86258 sec | 0 (current) |
kobak_summary-23-241198 | 42855 sec | 0 (current) |
kobak_thread-23-208337 | 86245 sec | 0 (current) |
kobak_thread-23-170951 | 86116 sec | 0 (current) |
kobak_thread-23-223945 | 86142 sec | 0 (current) |
kobak_summary-20-204006 | 42948 sec | 0 (current) |
kobak_thread-23-150892 | 86245 sec | 0 (current) |
kobak_thread-23-158588 | 86201 sec | 0 (current) |
kobak_thread-23-214942 | 86203 sec | 0 (current) |
kobak_summary-20-209324 | 42948 sec | 0 (current) |
kobak_thread-23-207338 | 86251 sec | 0 (current) |
kobak_summary-20-126586 | 42948 sec | 0 (current) |
kobak_thread-23-174779 | 86095 sec | 0 (current) |
kobak_thread-23-175525 | 86094 sec | 0 (current) |
kobak_thread-23-274581 | 86056 sec | 0 (current) |
kobak_thread-23-233244 | 86070 sec | 0 (current) |
kobak_thread-20-211489 | 86218 sec | 0 (current) |
kobak_thread-23-220710 | 86161 sec | 0 (current) |
kobak_thread-23-217854 | 86179 sec | 0 (current) |
kobak_thread-23-267774 | 86109 sec | 0 (current) |
kobak_cache | 42853 sec | 1 (current) |
kobak_thread-2-237833 | 86123 sec | 0 (current) |
tor_exit_list | 3418 sec | 0 (current) |
kobak_thread-23-206381 | 86258 sec | 0 (current) |
kobak_summary-23-17780 | 42855 sec | 0 (current) |
kobak_thread-23-172844 | 86105 sec | 0 (current) |
kobak_summary-20-208503 | 42948 sec | 0 (current) |
kobak_summary-20-205694 | 42948 sec | 0 (current) |
kobak_thread-23-256159 | 86186 sec | 0 (current) |
kobak_thread-23-195801 | 86268 sec | 0 (current) |
kobak_thread-23-215922 | 86194 sec | 0 (current) |
kobak_thread-23-247496 | 86243 sec | 0 (current) |
kobak_summary-20-194340 | 42948 sec | 0 (current) |
kobak_thread-23-254259 | 86202 sec | 0 (current) |
kobak_thread-23-255217 | 86196 sec | 0 (current) |
kobak_thread-23-259049 | 86170 sec | 0 (current) |
kobak_thread-23-218823 | 86173 sec | 0 (current) |
kobak_thread-23-272690 | 86072 sec | 0 (current) |
kobak_thread-23-231176 | 86094 sec | 0 (current) |
kobak_summary-20-173225 | 42948 sec | 0 (current) |
kobak_thread-2-237360 | 86149 sec | 0 (current) |
kobak_thread-23-169916 | 86121 sec | 0 (current) |
kobak_summary-23-113722 | 42855 sec | 0 (current) |
kobak_summary-23-282265 | 42855 sec | 0 (current) |
kobak_catalog-9 | 86071 sec | 0 (current) |
kobak_thread-23-214011 | 86209 sec | 0 (current) |
kobak_thread-23-253246 | 86208 sec | 0 (current) |
kobak_summary-23-281327 | 42855 sec | 0 (current) |
kobak_thread-23-216902 | 86186 sec | 0 (current) |
kobak_thread-23-155653 | 86218 sec | 0 (current) |
kobak_thread-23-156594 | 86212 sec | 0 (current) |
kobak_thread-23-211166 | 86227 sec | 0 (current) |
kobak_thread-2-234666 | 86172 sec | 0 (current) |
kobak_thread-9-166250 | 86214 sec | 0 (current) |
kobak_thread-23-177621 | 86071 sec | 0 (current) |
kobak_thread-23-159431 | 86190 sec | 0 (current) |
kobak_thread-9-471837 | 86298 sec | 0 (current) |
kobak_thread-23-178595 | 86065 sec | 0 (current) |
kobak_thread-23-222587 | 86149 sec | 0 (current) |
kobak_thread-23-271651 | 86085 sec | 0 (current) |
kobak_summary-23-277491 | 42855 sec | 0 (current) |
kobak_thread-23-162348 | 86173 sec | 0 (current) |
kobak_thread-23-264932 | 86128 sec | 0 (current) |
kobak_thread-23-189485 | 86272 sec | 0 (current) |
kobak_thread-1-395707 | 86246 sec | 0 (current) |
kobak_thread-23-221648 | 86156 sec | 0 (current) |
kobak_thread-23-234185 | 86063 sec | 0 (current) |
kobak_thread-23-257111 | 86181 sec | 0 (current) |
kobak_thread-23-151845 | 86239 sec | 0 (current) |
kobak_thread-23-166153 | 86150 sec | 0 (current) |
kobak_summary-23-280309 | 42855 sec | 0 (current) |
kobak_thread-2-231280 | 86196 sec | 0 (current) |
kobak_thread-23-175718 | 86089 sec | 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]