Current time: 2025-10-09 11:52:03.646
load average: 0.38, 0.46, 0.36
total load time: 0.0092s
code time: 0.0067s;
query time: 0.0025s
code time percentage: 72.8261%
query time percentage: 27.1739%
queries: 5
memory usage: 1,023kB
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(5) "11320" } |
lang | NULL |
Time log:
1760035923.63717008: beginning 1760035923.637170 - 0.000000 (0.000000s): log starting 1760035923.637539 - 0.000369 (0.000369s): kobak\debug: setting up new instance 1760035923.637547 - 0.000377 (0.000008s): kobak\cfg: setting up new instance 1760035923.637593 - 0.000423 (0.000046s): kobak\debug: setting up new instance 1760035923.637598 - 0.000428 (0.000005s): kobak\debug: finished setup 1760035923.637600 - 0.000430 (0.000002s): kobak\cfg: finished setup 1760035923.637603 - 0.000433 (0.000003s): kobak\debug: finished setup 1760035923.637605 - 0.000435 (0.000002s): core files loaded 1760035923.637647 - 0.000477 (0.000042s): kobak\controls: setting up new instance 1760035923.637653 - 0.000483 (0.000006s): kobak\controls: finished setup 1760035923.637655 - 0.000485 (0.000002s): kobak\modules: setting up new instance 1760035923.637657 - 0.000487 (0.000002s): kobak\modules: finished setup 1760035923.637695 - 0.000525 (0.000038s): kobak\plugins: setting up new instance 1760035923.637697 - 0.000527 (0.000002s): kobak\plugins: finished setup 1760035923.637710 - 0.000540 (0.000013s): kobak\modules: loading module geoip 1760035923.637713 - 0.000543 (0.000003s): kobak\pages: setting up new instance 1760035923.637722 - 0.000552 (0.000009s): kobak\pages: finished setup 1760035923.637746 - 0.000576 (0.000024s): kobak\modules: finished loading module "geoip" 1760035923.637753 - 0.000583 (0.000007s): kobak\modules: loading module kobak 1760035923.638000 - 0.000830 (0.000247s): kobak\kobak: setting up new instance 1760035923.638010 - 0.000840 (0.000010s): kobak\kobak: finished setup 1760035923.638013 - 0.000843 (0.000003s): kobak\cache: setting up new instance 1760035923.641574 - 0.004404 (0.003561s): kobak\cache: mode selected: redis 1760035923.641580 - 0.004410 (0.000006s): kobak\cache: finished setup 1760035923.641582 - 0.004412 (0.000002s): kobak\cache: loading cache file: kobak_cache 1760035923.641586 - 0.004416 (0.000004s): kobak\cache: checking cache file: kobak_cache 1760035923.641612 - 0.004442 (0.000026s): kobak\cache: finished checking cache file: kobak_cache 1760035923.641861 - 0.004691 (0.000249s): kobak\cache: finished loading cache file: kobak_cache 1760035923.641873 - 0.004703 (0.000012s): kobak\errors: setting up new instance 1760035923.641879 - 0.004709 (0.000006s): kobak\errors: finished setup 1760035923.641940 - 0.004770 (0.000061s): kobak\current: setting up new instance 1760035923.641945 - 0.004775 (0.000005s): kobak\current: finished setup 1760035923.642257 - 0.005087 (0.000312s): kobak\modules: finished loading module "kobak" 1760035923.642285 - 0.005115 (0.000028s): kobak\modules: loading module torcheck 1760035923.642312 - 0.005142 (0.000027s): kobak\modules: finished loading module "torcheck" 1760035923.642336 - 0.005166 (0.000024s): kobak\modules: finished loading 3 module(s) 1760035923.642340 - 0.005170 (0.000004s): kobak\current: creating default rewrite rules 1760035923.642342 - 0.005172 (0.000002s): kobak\current: starting validation of current section 1760035923.642381 - 0.005211 (0.000039s): kobak\current: finished validating section 1760035923.642388 - 0.005218 (0.000007s): kobak\current: finished validating prerequisites 1760035923.642394 - 0.005224 (0.000006s): kobak\current: finished validating optional inputs 1760035923.642412 - 0.005242 (0.000018s): KOBAK BBS: validating board 1760035923.642477 - 0.005307 (0.000065s): kobak\db: setting up new instance 1760035923.642479 - 0.005309 (0.000002s): kobak\db: Attempting to connect to database 1760035923.642960 - 0.005790 (0.000481s): kobak\db: Successfully connected to database 1760035923.643034 - 0.005864 (0.000074s): kobak\db: finished setup 1760035923.643049 - 0.005879 (0.000015s): kobak\ban: query: querying items 1760035923.643751 - 0.006581 (0.000702s): KOBAK BBS: loading board specific plugins 1760035923.643939 - 0.006769 (0.000188s): KOBAK BBS: finished loading board specific plugins 1760035923.643948 - 0.006778 (0.000009s): KOBAK BBS: validating post 1760035923.643976 - 0.006806 (0.000028s): kobak\post: query: querying posts 1760035923.644871 - 0.007701 (0.000895s): kobak\post: query: presorting post keys 1760035923.644918 - 0.007748 (0.000047s): kobak\post: query: presorting post keys: done 1760035923.644919 - 0.007749 (0.000001s): kobak\post: query: building post files query 1760035923.644921 - 0.007751 (0.000002s): kobak\post: query: getting post files 1760035923.645436 - 0.008266 (0.000515s): kobak\post: query: post files query done 1760035923.645438 - 0.008268 (0.000002s): kobak\post: query: pairing posts and post files 1760035923.645440 - 0.008270 (0.000002s): kobak\post: query: sorting post files 1760035923.645442 - 0.008272 (0.000002s): kobak\post: query: post files setup completed 1760035923.645443 - 0.008273 (0.000001s): kobak\post: query: constructing post objects 1760035923.645509 - 0.008339 (0.000066s): kobak\post: query: constructing post objects done 1760035923.645511 - 0.008341 (0.000002s): kobak\post: query: starting lookups for thread locked statuses 1760035923.645520 - 0.008350 (0.000009s): kobak\post: query: querying unknown locked thread statuses 1760035923.645746 - 0.008576 (0.000226s): kobak\post: query: applying unknown locked thread statuses 1760035923.645752 - 0.008582 (0.000006s): kobak\post: query: setting up references/backlinks 1760035923.645765 - 0.008595 (0.000013s): kobak\post: get_posts: querying out-of-thread quotes 1760035923.646017 - 0.008847 (0.000252s): kobak\post: get_posts: applying quote backlinks to posts 1760035923.646092 - 0.008922 (0.000075s): kobak\post: query: finished. 1760035923.646108 - 0.008938 (0.000016s): KOBAK BBS: validating delete 1760035923.646147 - 0.008977 (0.000039s): kobak\current: Template file found 1760035923.646149 - 0.008979 (0.000002s): kobak\current: setting up HTML vars 1760035923.646153 - 0.008983 (0.000004s): kobak\html: setting up new instance 1760035923.646168 - 0.008998 (0.000015s): kobak\html: finished setup 1760035923.646171 - 0.009001 (0.000003s): kobak\current: setting up per-page HTML vars 1760035923.646202 - 0.009032 (0.000031s): KOBAK BBS: loading delete 1760035923.646211 - 0.009041 (0.000009s): kobak\current: finished setting up all HTML vars 1760035923.646213 - 0.009043 (0.000002s): start rendering html 1760035923.646232 - 0.009062 (0.000019s): loading report 1760035923.646242 - 0.009072 (0.000010s): called header.php 1760035923.646291 - 0.009121 (0.000049s): called footer.php 1760035923.646292 - 0.009122 (0.000001s): completed rendering most of the html 1760035923.646313 - 0.009143 (0.000021s): log finished 1760035923.646421 - 0.009251 (0.000108s): starting debug_t
|
SQL statistics:
time taken: 0.00066614 | 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.00087023 | 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` = '11320' AND p.`deleted` != '1' LIMIT 1 | no error (prepared query) |
time taken: 0.00049710 | 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` = '11320' AND p.`deleted` != '1' LIMIT 1 ) as sub) | no rows found or affected (prepared query) |
time taken: 0.00021005 | SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(10552)) AND `deleted` != 1 | no error |
time taken: 0.00023913 | SELECT `boardid`, `parentid`, `postid` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(11317)) AND `deleted` != 1 | no error |
actions:
after_modules_load | actions: 1 | start: 1760035923.64231700 | end: 1760035923.64233100 | took (total): 0.000014 |
before_validation | actions: 1 | start: 1760035923.64235100 | end: 1760035923.64237400 | took (total): 0.000023 |
header_meta | actions: 4 | start: 1760035923.64624600 | end: 1760035923.64626700 | took (total): 0.000021 |
setup_html | actions: 2 | start: 1760035923.64617700 | end: 1760035923.64621000 | took (total): 0.000033 |
validation | actions: 3 | start: 1760035923.64239800 | end: 1760035923.64612000 | took (total): 0.003722 |
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 | 42852 sec | 0 (current) |
kobak_thread-23-168967 | 86124 sec | 0 (current) |
kobak_thread-23-160435 | 86182 sec | 0 (current) |
kobak_thread-9-453195 | 86187 sec | 0 (current) |
kobak_thread-23-226463 | 86115 sec | 0 (current) |
kobak_thread-23-173764 | 86097 sec | 0 (current) |
kobak_summary-23-271738 | 42852 sec | 0 (current) |
kobak_thread-23-251373 | 86216 sec | 0 (current) |
kobak_thread-23-258099 | 86172 sec | 0 (current) |
kobak_banners | 42852 sec | 0 (current) |
kobak_thread-23-263017 | 86143 sec | 0 (current) |
kobak_thread-23-226053 | 86120 sec | 0 (current) |
kobak_thread-23-266840 | 86112 sec | 0 (current) |
kobak_thread-23-157531 | 86203 sec | 0 (current) |
kobak_thread-23-248689 | 86234 sec | 0 (current) |
kobak_thread-23-245619 | 86250 sec | 0 (current) |
kobak_thread-23-230330 | 86091 sec | 0 (current) |
kobak_thread-23-163296 | 86165 sec | 0 (current) |
kobak_thread-23-265884 | 86118 sec | 0 (current) |
kobak_thread-23-252306 | 86211 sec | 0 (current) |
kobak_thread-23-261025 | 86153 sec | 0 (current) |
kobak_thread-23-223614 | 86140 sec | 0 (current) |
kobak_thread-23-176663 | 86078 sec | 0 (current) |
kobak_thread-23-154669 | 86219 sec | 0 (current) |
kobak_thread-23-161359 | 86176 sec | 0 (current) |
kobak_thread-23-225484 | 86121 sec | 0 (current) |
kobak_thread-23-231277 | 86084 sec | 0 (current) |
kobak_thread-23-273644 | 86062 sec | 0 (current) |
kobak_thread-23-212094 | 86217 sec | 0 (current) |
kobak_summary-20-177807 | 42945 sec | 0 (current) |
kobak_thread-23-235111 | 86051 sec | 0 (current) |
kobak_thread-23-241198 | 86258 sec | 0 (current) |
kobak_thread-23-210228 | 86229 sec | 0 (current) |
kobak_thread-23-249419 | 86228 sec | 0 (current) |
kobak_thread-23-209297 | 86235 sec | 0 (current) |
kobak_summary-20-203880 | 42945 sec | 0 (current) |
kobak_summary-23-275533 | 42852 sec | 0 (current) |
kobak_thread-23-168004 | 86131 sec | 0 (current) |
kobak_thread-23-246557 | 86245 sec | 0 (current) |
kobak_thread-23-232271 | 86072 sec | 0 (current) |
kobak_thread-23-153733 | 86225 sec | 0 (current) |
kobak_thread-23-229702 | 86097 sec | 0 (current) |
kobak_thread-23-271738 | 86080 sec | 0 (current) |
kobak_thread-23-213038 | 86211 sec | 0 (current) |
kobak_summary-20-204892 | 42945 sec | 0 (current) |
kobak_thread-23-283222 | 86362 sec | 0 (current) |
kobak_summary-23-158588 | 42852 sec | 0 (current) |
kobak_thread-23-248435 | 86235 sec | 0 (current) |
kobak_thread-23-229371 | 86099 sec | 0 (current) |
kobak_summary-20-204992 | 42945 sec | 0 (current) |
kobak_thread-1-393196 | 86267 sec | 0 (current) |
kobak_thread-23-195835 | 86263 sec | 0 (current) |
kobak_thread-23-219756 | 86164 sec | 0 (current) |
kobak_thread-23-207332 | 86254 sec | 0 (current) |
kobak_thread-2-243042 | 86097 sec | 0 (current) |
kobak_thread-23-260056 | 86159 sec | 0 (current) |
kobak_thread-23-158471 | 86199 sec | 0 (current) |
kobak_thread-23-149882 | 86247 sec | 0 (current) |
kobak_thread-23-152797 | 86230 sec | 0 (current) |
kobak_thread-23-261971 | 86148 sec | 0 (current) |
kobak_thread-23-148838 | 86255 sec | 0 (current) |
kobak_thread-23-224569 | 86126 sec | 0 (current) |
kobak_thread-23-269755 | 86094 sec | 0 (current) |
kobak_thread-23-270721 | 86088 sec | 0 (current) |
kobak_thread-23-179529 | 86054 sec | 0 (current) |
kobak_thread-23-113722 | 86287 sec | 0 (current) |
kobak_summary-20-206665 | 42945 sec | 0 (current) |
kobak_summary-20-23478 | 42945 sec | 0 (current) |
kobak_summary-23-269545 | 42852 sec | 0 (current) |
kobak_thread-23-269545 | 86099 sec | 0 (current) |
kobak_thread-23-250421 | 86222 sec | 0 (current) |
kobak_thread-23-227441 | 86111 sec | 0 (current) |
kobak_thread-23-171898 | 86107 sec | 0 (current) |
kobak_thread-23-164215 | 86159 sec | 0 (current) |
kobak_thread-23-268788 | 86100 sec | 0 (current) |
kobak_thread-23-228405 | 86105 sec | 0 (current) |
kobak_summary-23-276497 | 42852 sec | 0 (current) |
kobak_thread-23-167072 | 86142 sec | 0 (current) |
kobak_thread-23-165164 | 86153 sec | 0 (current) |
kobak_summary-23-229702 | 42852 sec | 0 (current) |
kobak_thread-23-263967 | 86138 sec | 0 (current) |
kobak_summary-20-191910 | 42945 sec | 0 (current) |
kobak_thread-20-114076 | 86056 sec | 0 (current) |
kobak_thread-23-140486 | 86261 sec | 0 (current) |
kobak_thread-23-149072 | 86255 sec | 0 (current) |
kobak_thread-23-198531 | 86262 sec | 0 (current) |
kobak_thread-23-244683 | 86255 sec | 0 (current) |
kobak_summary-23-241198 | 42852 sec | 0 (current) |
kobak_thread-23-208337 | 86241 sec | 0 (current) |
kobak_thread-23-170951 | 86112 sec | 0 (current) |
kobak_thread-23-223945 | 86139 sec | 0 (current) |
kobak_summary-20-204006 | 42945 sec | 0 (current) |
kobak_thread-23-150892 | 86242 sec | 0 (current) |
kobak_thread-23-158588 | 86198 sec | 0 (current) |
kobak_thread-23-214942 | 86199 sec | 0 (current) |
kobak_summary-20-209324 | 42945 sec | 0 (current) |
kobak_thread-23-207338 | 86248 sec | 0 (current) |
kobak_summary-20-126586 | 42945 sec | 0 (current) |
kobak_thread-23-174779 | 86092 sec | 0 (current) |
kobak_thread-23-175525 | 86091 sec | 0 (current) |
kobak_thread-23-274581 | 86053 sec | 0 (current) |
kobak_thread-23-233244 | 86066 sec | 0 (current) |
kobak_thread-20-211489 | 86215 sec | 0 (current) |
kobak_thread-23-220710 | 86158 sec | 0 (current) |
kobak_thread-23-217854 | 86176 sec | 0 (current) |
kobak_thread-23-267774 | 86105 sec | 0 (current) |
kobak_cache | 42850 sec | 1 (current) |
kobak_thread-2-237833 | 86120 sec | 0 (current) |
tor_exit_list | 3414 sec | 0 (current) |
kobak_thread-23-206381 | 86255 sec | 0 (current) |
kobak_summary-23-17780 | 42852 sec | 0 (current) |
kobak_thread-23-172844 | 86102 sec | 0 (current) |
kobak_summary-20-208503 | 42945 sec | 0 (current) |
kobak_summary-20-205694 | 42945 sec | 0 (current) |
kobak_thread-23-256159 | 86183 sec | 0 (current) |
kobak_thread-23-195801 | 86265 sec | 0 (current) |
kobak_thread-23-215922 | 86191 sec | 0 (current) |
kobak_thread-23-247496 | 86240 sec | 0 (current) |
kobak_summary-20-194340 | 42945 sec | 0 (current) |
kobak_thread-23-254259 | 86199 sec | 0 (current) |
kobak_thread-23-255217 | 86193 sec | 0 (current) |
kobak_thread-23-259049 | 86167 sec | 0 (current) |
kobak_thread-23-218823 | 86169 sec | 0 (current) |
kobak_thread-23-272690 | 86068 sec | 0 (current) |
kobak_thread-23-231176 | 86090 sec | 0 (current) |
kobak_summary-20-173225 | 42945 sec | 0 (current) |
kobak_thread-2-237360 | 86145 sec | 0 (current) |
kobak_thread-23-169916 | 86118 sec | 0 (current) |
kobak_summary-23-113722 | 42852 sec | 0 (current) |
kobak_summary-23-282265 | 42852 sec | 0 (current) |
kobak_catalog-9 | 86068 sec | 0 (current) |
kobak_thread-23-214011 | 86206 sec | 0 (current) |
kobak_thread-23-253246 | 86205 sec | 0 (current) |
kobak_summary-23-281327 | 42852 sec | 0 (current) |
kobak_thread-23-216902 | 86182 sec | 0 (current) |
kobak_thread-23-155653 | 86214 sec | 0 (current) |
kobak_thread-23-156594 | 86209 sec | 0 (current) |
kobak_thread-23-211166 | 86223 sec | 0 (current) |
kobak_thread-2-234666 | 86169 sec | 0 (current) |
kobak_thread-9-166250 | 86211 sec | 0 (current) |
kobak_thread-23-177621 | 86068 sec | 0 (current) |
kobak_thread-23-159431 | 86187 sec | 0 (current) |
kobak_thread-9-471837 | 86294 sec | 0 (current) |
kobak_thread-23-178595 | 86062 sec | 0 (current) |
kobak_thread-23-222587 | 86146 sec | 0 (current) |
kobak_thread-23-271651 | 86082 sec | 0 (current) |
kobak_summary-23-277491 | 42852 sec | 0 (current) |
kobak_thread-23-162348 | 86170 sec | 0 (current) |
kobak_thread-23-264932 | 86125 sec | 0 (current) |
kobak_thread-23-189485 | 86269 sec | 0 (current) |
kobak_thread-1-395707 | 86243 sec | 0 (current) |
kobak_thread-23-221648 | 86152 sec | 0 (current) |
kobak_thread-23-234185 | 86060 sec | 0 (current) |
kobak_thread-23-257111 | 86178 sec | 0 (current) |
kobak_thread-23-151845 | 86236 sec | 0 (current) |
kobak_thread-23-166153 | 86147 sec | 0 (current) |
kobak_summary-23-280309 | 42852 sec | 0 (current) |
kobak_thread-2-231280 | 86193 sec | 0 (current) |
kobak_thread-23-175718 | 86086 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]