Current time: 2025-10-09 11:51:59.540
load average: 0.38, 0.46, 0.36
total load time: 0.0080s
code time: 0.006s;
query time: 0.0020s
code time percentage: 75%
query time percentage: 25.0000%
queries: 5
memory usage: 1MB
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) "54048" } |
lang | NULL |
Time log:
1760035919.53246808: beginning 1760035919.532468 - 0.000000 (0.000000s): log starting 1760035919.532782 - 0.000314 (0.000314s): kobak\debug: setting up new instance 1760035919.532789 - 0.000321 (0.000007s): kobak\cfg: setting up new instance 1760035919.532829 - 0.000361 (0.000040s): kobak\debug: setting up new instance 1760035919.532834 - 0.000366 (0.000005s): kobak\debug: finished setup 1760035919.532835 - 0.000367 (0.000001s): kobak\cfg: finished setup 1760035919.532837 - 0.000369 (0.000002s): kobak\debug: finished setup 1760035919.532838 - 0.000370 (0.000001s): core files loaded 1760035919.532871 - 0.000403 (0.000033s): kobak\controls: setting up new instance 1760035919.532875 - 0.000407 (0.000004s): kobak\controls: finished setup 1760035919.532876 - 0.000408 (0.000001s): kobak\modules: setting up new instance 1760035919.532878 - 0.000410 (0.000002s): kobak\modules: finished setup 1760035919.532934 - 0.000466 (0.000056s): kobak\plugins: setting up new instance 1760035919.532937 - 0.000469 (0.000003s): kobak\plugins: finished setup 1760035919.532948 - 0.000480 (0.000011s): kobak\modules: loading module geoip 1760035919.532951 - 0.000483 (0.000003s): kobak\pages: setting up new instance 1760035919.532958 - 0.000490 (0.000007s): kobak\pages: finished setup 1760035919.532978 - 0.000510 (0.000020s): kobak\modules: finished loading module "geoip" 1760035919.532984 - 0.000516 (0.000006s): kobak\modules: loading module kobak 1760035919.533149 - 0.000681 (0.000165s): kobak\kobak: setting up new instance 1760035919.533156 - 0.000688 (0.000007s): kobak\kobak: finished setup 1760035919.533158 - 0.000690 (0.000002s): kobak\cache: setting up new instance 1760035919.536656 - 0.004188 (0.003498s): kobak\cache: mode selected: redis 1760035919.536667 - 0.004199 (0.000011s): kobak\cache: finished setup 1760035919.536669 - 0.004201 (0.000002s): kobak\cache: loading cache file: kobak_cache 1760035919.536675 - 0.004207 (0.000006s): kobak\cache: checking cache file: kobak_cache 1760035919.536703 - 0.004235 (0.000028s): kobak\cache: finished checking cache file: kobak_cache 1760035919.536936 - 0.004468 (0.000233s): kobak\cache: finished loading cache file: kobak_cache 1760035919.536947 - 0.004479 (0.000011s): kobak\errors: setting up new instance 1760035919.536954 - 0.004486 (0.000007s): kobak\errors: finished setup 1760035919.537003 - 0.004535 (0.000049s): kobak\current: setting up new instance 1760035919.537009 - 0.004541 (0.000006s): kobak\current: finished setup 1760035919.537166 - 0.004698 (0.000157s): kobak\modules: finished loading module "kobak" 1760035919.537178 - 0.004710 (0.000012s): kobak\modules: loading module torcheck 1760035919.537196 - 0.004728 (0.000018s): kobak\modules: finished loading module "torcheck" 1760035919.537218 - 0.004750 (0.000022s): kobak\modules: finished loading 3 module(s) 1760035919.537221 - 0.004753 (0.000003s): kobak\current: creating default rewrite rules 1760035919.537222 - 0.004754 (0.000001s): kobak\current: starting validation of current section 1760035919.537239 - 0.004771 (0.000017s): kobak\current: finished validating section 1760035919.537245 - 0.004777 (0.000006s): kobak\current: finished validating prerequisites 1760035919.537249 - 0.004781 (0.000004s): kobak\current: finished validating optional inputs 1760035919.537260 - 0.004792 (0.000011s): KOBAK BBS: validating board 1760035919.537304 - 0.004836 (0.000044s): kobak\db: setting up new instance 1760035919.537305 - 0.004837 (0.000001s): kobak\db: Attempting to connect to database 1760035919.537677 - 0.005209 (0.000372s): kobak\db: Successfully connected to database 1760035919.537747 - 0.005279 (0.000070s): kobak\db: finished setup 1760035919.537753 - 0.005285 (0.000006s): kobak\ban: query: querying items 1760035919.538371 - 0.005903 (0.000618s): KOBAK BBS: loading board specific plugins 1760035919.538500 - 0.006032 (0.000129s): KOBAK BBS: finished loading board specific plugins 1760035919.538505 - 0.006037 (0.000005s): KOBAK BBS: validating post 1760035919.538520 - 0.006052 (0.000015s): kobak\post: query: querying posts 1760035919.539319 - 0.006851 (0.000799s): kobak\post: query: presorting post keys 1760035919.539338 - 0.006870 (0.000019s): kobak\post: query: presorting post keys: done 1760035919.539340 - 0.006872 (0.000002s): kobak\post: query: building post files query 1760035919.539342 - 0.006874 (0.000002s): kobak\post: query: getting post files 1760035919.539741 - 0.007273 (0.000399s): kobak\post: query: post files query done 1760035919.539743 - 0.007275 (0.000002s): kobak\post: query: pairing posts and post files 1760035919.539768 - 0.007300 (0.000025s): kobak\post: query: sorting post files 1760035919.539770 - 0.007302 (0.000002s): kobak\post: query: post files setup completed 1760035919.539771 - 0.007303 (0.000001s): kobak\post: query: constructing post objects 1760035919.539821 - 0.007353 (0.000050s): kobak\post: query: constructing post objects done 1760035919.539824 - 0.007356 (0.000003s): kobak\post: query: starting lookups for thread locked statuses 1760035919.539830 - 0.007362 (0.000006s): kobak\post: query: querying unknown locked thread statuses 1760035919.540003 - 0.007535 (0.000173s): kobak\post: query: applying unknown locked thread statuses 1760035919.540008 - 0.007540 (0.000005s): kobak\post: query: setting up references/backlinks 1760035919.540015 - 0.007547 (0.000007s): kobak\post: get_posts: querying out-of-thread quotes 1760035919.540136 - 0.007668 (0.000121s): kobak\post: get_posts: applying quote backlinks to posts 1760035919.540193 - 0.007725 (0.000057s): kobak\post: query: finished. 1760035919.540206 - 0.007738 (0.000013s): KOBAK BBS: validating delete 1760035919.540236 - 0.007768 (0.000030s): kobak\current: Template file found 1760035919.540238 - 0.007770 (0.000002s): kobak\current: setting up HTML vars 1760035919.540240 - 0.007772 (0.000002s): kobak\html: setting up new instance 1760035919.540254 - 0.007786 (0.000014s): kobak\html: finished setup 1760035919.540256 - 0.007788 (0.000002s): kobak\current: setting up per-page HTML vars 1760035919.540283 - 0.007815 (0.000027s): KOBAK BBS: loading delete 1760035919.540296 - 0.007828 (0.000013s): kobak\current: finished setting up all HTML vars 1760035919.540297 - 0.007829 (0.000001s): start rendering html 1760035919.540313 - 0.007845 (0.000016s): loading report 1760035919.540324 - 0.007856 (0.000011s): called header.php 1760035919.540380 - 0.007912 (0.000056s): called footer.php 1760035919.540382 - 0.007914 (0.000002s): completed rendering most of the html 1760035919.540401 - 0.007933 (0.000019s): log finished 1760035919.540506 - 0.008038 (0.000105s): starting debug_t
|
SQL statistics:
time taken: 0.00058985 | 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.00077701 | 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` = '54048' AND p.`deleted` != '1' LIMIT 1 | no error (prepared query) |
time taken: 0.00038481 | 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` = '54048' AND p.`deleted` != '1' LIMIT 1 ) as sub) | no error (prepared query) |
time taken: 0.00016284 | SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(53475)) AND `deleted` != 1 | no error |
time taken: 0.00011110 | SELECT `boardid`, `parentid`, `postid` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(54047)) AND `deleted` != 1 | no error |
actions:
after_modules_load | actions: 1 | start: 1760035919.53720000 | end: 1760035919.53721400 | took (total): 0.000014 |
before_validation | actions: 1 | start: 1760035919.53722900 | end: 1760035919.53723400 | took (total): 0.000005 |
header_meta | actions: 4 | start: 1760035919.54032800 | end: 1760035919.54035000 | took (total): 0.000022 |
setup_html | actions: 2 | start: 1760035919.54026100 | end: 1760035919.54029300 | took (total): 0.000032 |
validation | actions: 3 | start: 1760035919.53725200 | end: 1760035919.54021600 | took (total): 0.002964 |
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.69MB
key | ttl | hits |
---|---|---|
kobak_summary-23-8 | 42856 sec | 0 (current) |
kobak_thread-23-168967 | 86129 sec | 0 (current) |
kobak_thread-23-160435 | 86186 sec | 0 (current) |
kobak_thread-9-453195 | 86191 sec | 0 (current) |
kobak_thread-23-226463 | 86119 sec | 0 (current) |
kobak_thread-23-173764 | 86101 sec | 0 (current) |
kobak_summary-23-271738 | 42856 sec | 0 (current) |
kobak_thread-23-251373 | 86220 sec | 0 (current) |
kobak_thread-23-258099 | 86176 sec | 0 (current) |
kobak_banners | 42856 sec | 0 (current) |
kobak_thread-23-263017 | 86147 sec | 0 (current) |
kobak_thread-23-226053 | 86124 sec | 0 (current) |
kobak_thread-23-266840 | 86116 sec | 0 (current) |
kobak_thread-23-157531 | 86207 sec | 0 (current) |
kobak_thread-23-248689 | 86238 sec | 0 (current) |
kobak_thread-23-245619 | 86254 sec | 0 (current) |
kobak_thread-23-230330 | 86095 sec | 0 (current) |
kobak_thread-23-163296 | 86169 sec | 0 (current) |
kobak_thread-23-265884 | 86122 sec | 0 (current) |
kobak_thread-23-252306 | 86215 sec | 0 (current) |
kobak_thread-23-261025 | 86157 sec | 0 (current) |
kobak_thread-23-223614 | 86144 sec | 0 (current) |
kobak_thread-23-176663 | 86083 sec | 0 (current) |
kobak_thread-23-154669 | 86223 sec | 0 (current) |
kobak_thread-23-161359 | 86180 sec | 0 (current) |
kobak_thread-23-225484 | 86125 sec | 0 (current) |
kobak_thread-23-231277 | 86088 sec | 0 (current) |
kobak_thread-23-273644 | 86066 sec | 0 (current) |
kobak_thread-23-212094 | 86221 sec | 0 (current) |
kobak_summary-20-177807 | 42949 sec | 0 (current) |
kobak_thread-23-235111 | 86055 sec | 0 (current) |
kobak_thread-23-241198 | 86262 sec | 0 (current) |
kobak_thread-23-210228 | 86233 sec | 0 (current) |
kobak_thread-23-249419 | 86232 sec | 0 (current) |
kobak_thread-23-209297 | 86240 sec | 0 (current) |
kobak_summary-20-203880 | 42949 sec | 0 (current) |
kobak_summary-23-275533 | 42856 sec | 0 (current) |
kobak_thread-23-168004 | 86135 sec | 0 (current) |
kobak_thread-23-246557 | 86249 sec | 0 (current) |
kobak_thread-23-232271 | 86076 sec | 0 (current) |
kobak_thread-23-153733 | 86229 sec | 0 (current) |
kobak_thread-23-229702 | 86101 sec | 0 (current) |
kobak_thread-23-271738 | 86085 sec | 0 (current) |
kobak_thread-23-213038 | 86216 sec | 0 (current) |
kobak_summary-20-204892 | 42949 sec | 0 (current) |
kobak_thread-23-283222 | 86366 sec | 0 (current) |
kobak_summary-23-158588 | 42856 sec | 0 (current) |
kobak_thread-23-248435 | 86239 sec | 0 (current) |
kobak_thread-23-229371 | 86103 sec | 0 (current) |
kobak_summary-20-204992 | 42949 sec | 0 (current) |
kobak_thread-1-393196 | 86271 sec | 0 (current) |
kobak_thread-23-195835 | 86268 sec | 0 (current) |
kobak_thread-23-219756 | 86168 sec | 0 (current) |
kobak_thread-23-207332 | 86258 sec | 0 (current) |
kobak_thread-2-243042 | 86101 sec | 0 (current) |
kobak_thread-23-260056 | 86164 sec | 0 (current) |
kobak_thread-23-158471 | 86203 sec | 0 (current) |
kobak_thread-23-149882 | 86252 sec | 0 (current) |
kobak_thread-23-152797 | 86234 sec | 0 (current) |
kobak_thread-23-261971 | 86152 sec | 0 (current) |
kobak_thread-23-148838 | 86259 sec | 0 (current) |
kobak_thread-23-224569 | 86130 sec | 0 (current) |
kobak_thread-23-269755 | 86098 sec | 0 (current) |
kobak_thread-23-270721 | 86092 sec | 0 (current) |
kobak_thread-23-179529 | 86058 sec | 0 (current) |
kobak_thread-23-113722 | 86291 sec | 0 (current) |
kobak_summary-20-206665 | 42949 sec | 0 (current) |
kobak_summary-20-23478 | 42949 sec | 0 (current) |
kobak_summary-23-269545 | 42856 sec | 0 (current) |
kobak_thread-23-269545 | 86103 sec | 0 (current) |
kobak_thread-23-250421 | 86226 sec | 0 (current) |
kobak_thread-23-227441 | 86115 sec | 0 (current) |
kobak_thread-23-171898 | 86111 sec | 0 (current) |
kobak_thread-23-164215 | 86163 sec | 0 (current) |
kobak_thread-23-268788 | 86104 sec | 0 (current) |
kobak_thread-23-228405 | 86109 sec | 0 (current) |
kobak_summary-23-276497 | 42856 sec | 0 (current) |
kobak_thread-23-167072 | 86146 sec | 0 (current) |
kobak_thread-23-165164 | 86157 sec | 0 (current) |
kobak_summary-23-229702 | 42856 sec | 0 (current) |
kobak_thread-23-263967 | 86142 sec | 0 (current) |
kobak_summary-20-191910 | 42949 sec | 0 (current) |
kobak_thread-20-114076 | 86060 sec | 0 (current) |
kobak_thread-23-140486 | 86265 sec | 0 (current) |
kobak_thread-23-149072 | 86259 sec | 0 (current) |
kobak_thread-23-198531 | 86266 sec | 0 (current) |
kobak_thread-23-244683 | 86259 sec | 0 (current) |
kobak_summary-23-241198 | 42856 sec | 0 (current) |
kobak_thread-23-208337 | 86245 sec | 0 (current) |
kobak_thread-23-170951 | 86116 sec | 0 (current) |
kobak_thread-23-223945 | 86143 sec | 0 (current) |
kobak_summary-20-204006 | 42949 sec | 0 (current) |
kobak_thread-23-150892 | 86246 sec | 0 (current) |
kobak_thread-23-158588 | 86202 sec | 0 (current) |
kobak_thread-23-214942 | 86203 sec | 0 (current) |
kobak_summary-20-209324 | 42949 sec | 0 (current) |
kobak_thread-23-207338 | 86252 sec | 0 (current) |
kobak_summary-20-126586 | 42949 sec | 0 (current) |
kobak_thread-23-174779 | 86096 sec | 0 (current) |
kobak_thread-23-175525 | 86095 sec | 0 (current) |
kobak_thread-23-274581 | 86057 sec | 0 (current) |
kobak_thread-23-233244 | 86070 sec | 0 (current) |
kobak_thread-20-211489 | 86219 sec | 0 (current) |
kobak_thread-23-220710 | 86162 sec | 0 (current) |
kobak_thread-23-217854 | 86180 sec | 0 (current) |
kobak_thread-23-267774 | 86110 sec | 0 (current) |
kobak_cache | 42854 sec | 1 (current) |
kobak_thread-2-237833 | 86124 sec | 0 (current) |
tor_exit_list | 3419 sec | 0 (current) |
kobak_thread-23-206381 | 86259 sec | 0 (current) |
kobak_summary-23-17780 | 42856 sec | 0 (current) |
kobak_thread-23-172844 | 86106 sec | 0 (current) |
kobak_summary-20-208503 | 42949 sec | 0 (current) |
kobak_summary-20-205694 | 42949 sec | 0 (current) |
kobak_thread-23-256159 | 86187 sec | 0 (current) |
kobak_thread-23-195801 | 86269 sec | 0 (current) |
kobak_thread-23-215922 | 86195 sec | 0 (current) |
kobak_thread-23-247496 | 86244 sec | 0 (current) |
kobak_summary-20-194340 | 42949 sec | 0 (current) |
kobak_thread-23-254259 | 86203 sec | 0 (current) |
kobak_thread-23-255217 | 86197 sec | 0 (current) |
kobak_thread-23-259049 | 86171 sec | 0 (current) |
kobak_thread-23-218823 | 86174 sec | 0 (current) |
kobak_thread-23-272690 | 86073 sec | 0 (current) |
kobak_thread-23-231176 | 86094 sec | 0 (current) |
kobak_summary-20-173225 | 42949 sec | 0 (current) |
kobak_thread-2-237360 | 86150 sec | 0 (current) |
kobak_thread-23-169916 | 86122 sec | 0 (current) |
kobak_summary-23-113722 | 42856 sec | 0 (current) |
kobak_summary-23-282265 | 42856 sec | 0 (current) |
kobak_catalog-9 | 86072 sec | 0 (current) |
kobak_thread-23-214011 | 86210 sec | 0 (current) |
kobak_thread-23-253246 | 86209 sec | 0 (current) |
kobak_summary-23-281327 | 42856 sec | 0 (current) |
kobak_thread-23-216902 | 86186 sec | 0 (current) |
kobak_thread-23-155653 | 86218 sec | 0 (current) |
kobak_thread-23-156594 | 86213 sec | 0 (current) |
kobak_thread-23-211166 | 86227 sec | 0 (current) |
kobak_thread-2-234666 | 86173 sec | 0 (current) |
kobak_thread-9-166250 | 86215 sec | 0 (current) |
kobak_thread-23-177621 | 86072 sec | 0 (current) |
kobak_thread-23-159431 | 86191 sec | 0 (current) |
kobak_thread-9-471837 | 86299 sec | 0 (current) |
kobak_thread-23-178595 | 86066 sec | 0 (current) |
kobak_thread-23-222587 | 86150 sec | 0 (current) |
kobak_thread-23-271651 | 86086 sec | 0 (current) |
kobak_summary-23-277491 | 42856 sec | 0 (current) |
kobak_thread-23-162348 | 86174 sec | 0 (current) |
kobak_thread-23-264932 | 86129 sec | 0 (current) |
kobak_thread-23-189485 | 86273 sec | 0 (current) |
kobak_thread-1-395707 | 86247 sec | 0 (current) |
kobak_thread-23-221648 | 86157 sec | 0 (current) |
kobak_thread-23-234185 | 86064 sec | 0 (current) |
kobak_thread-23-257111 | 86182 sec | 0 (current) |
kobak_thread-23-151845 | 86240 sec | 0 (current) |
kobak_thread-23-166153 | 86151 sec | 0 (current) |
kobak_summary-23-280309 | 42856 sec | 0 (current) |
kobak_thread-2-231280 | 86197 sec | 0 (current) |
kobak_thread-23-175718 | 86090 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]