Current time: 2025-10-09 11:52:06.076
load average: 0.35, 0.45, 0.36
total load time: 0.0148s
code time: 0.0092s;
query time: 0.0056s
code time percentage: 62.1622%
query time percentage: 37.8378%
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) "251327" } |
lang | NULL |
Time log:
1760035926.06150699: beginning 1760035926.061506 - 0.000000 (0.000000s): log starting 1760035926.061782 - 0.000275 (0.000275s): kobak\debug: setting up new instance 1760035926.061786 - 0.000279 (0.000004s): kobak\cfg: setting up new instance 1760035926.061817 - 0.000310 (0.000031s): kobak\debug: setting up new instance 1760035926.061821 - 0.000314 (0.000004s): kobak\debug: finished setup 1760035926.061823 - 0.000316 (0.000002s): kobak\cfg: finished setup 1760035926.061824 - 0.000317 (0.000001s): kobak\debug: finished setup 1760035926.061826 - 0.000319 (0.000002s): core files loaded 1760035926.061875 - 0.000368 (0.000049s): kobak\controls: setting up new instance 1760035926.061902 - 0.000395 (0.000027s): kobak\controls: finished setup 1760035926.061904 - 0.000397 (0.000002s): kobak\modules: setting up new instance 1760035926.061906 - 0.000399 (0.000002s): kobak\modules: finished setup 1760035926.061943 - 0.000436 (0.000037s): kobak\plugins: setting up new instance 1760035926.061946 - 0.000439 (0.000003s): kobak\plugins: finished setup 1760035926.061958 - 0.000451 (0.000012s): kobak\modules: loading module geoip 1760035926.061960 - 0.000453 (0.000002s): kobak\pages: setting up new instance 1760035926.061967 - 0.000460 (0.000007s): kobak\pages: finished setup 1760035926.061986 - 0.000479 (0.000019s): kobak\modules: finished loading module "geoip" 1760035926.061992 - 0.000485 (0.000006s): kobak\modules: loading module kobak 1760035926.062167 - 0.000660 (0.000175s): kobak\kobak: setting up new instance 1760035926.062177 - 0.000670 (0.000010s): kobak\kobak: finished setup 1760035926.062181 - 0.000674 (0.000004s): kobak\cache: setting up new instance 1760035926.065716 - 0.004209 (0.003535s): kobak\cache: mode selected: redis 1760035926.065726 - 0.004219 (0.000010s): kobak\cache: finished setup 1760035926.065729 - 0.004222 (0.000003s): kobak\cache: loading cache file: kobak_cache 1760035926.065735 - 0.004228 (0.000006s): kobak\cache: checking cache file: kobak_cache 1760035926.065771 - 0.004264 (0.000036s): kobak\cache: finished checking cache file: kobak_cache 1760035926.066160 - 0.004653 (0.000389s): kobak\cache: finished loading cache file: kobak_cache 1760035926.066174 - 0.004667 (0.000014s): kobak\errors: setting up new instance 1760035926.066182 - 0.004675 (0.000008s): kobak\errors: finished setup 1760035926.066248 - 0.004741 (0.000066s): kobak\current: setting up new instance 1760035926.066256 - 0.004749 (0.000008s): kobak\current: finished setup 1760035926.066447 - 0.004940 (0.000191s): kobak\modules: finished loading module "kobak" 1760035926.066460 - 0.004953 (0.000013s): kobak\modules: loading module torcheck 1760035926.066480 - 0.004973 (0.000020s): kobak\modules: finished loading module "torcheck" 1760035926.066506 - 0.004999 (0.000026s): kobak\modules: finished loading 3 module(s) 1760035926.066510 - 0.005003 (0.000004s): kobak\current: creating default rewrite rules 1760035926.066512 - 0.005005 (0.000002s): kobak\current: starting validation of current section 1760035926.066529 - 0.005022 (0.000017s): kobak\current: finished validating section 1760035926.066533 - 0.005026 (0.000004s): kobak\current: finished validating prerequisites 1760035926.066536 - 0.005029 (0.000003s): kobak\current: finished validating optional inputs 1760035926.066547 - 0.005040 (0.000011s): KOBAK BBS: validating board 1760035926.066590 - 0.005083 (0.000043s): kobak\db: setting up new instance 1760035926.066592 - 0.005085 (0.000002s): kobak\db: Attempting to connect to database 1760035926.069924 - 0.008417 (0.003332s): kobak\db: Successfully connected to database 1760035926.069995 - 0.008488 (0.000071s): kobak\db: finished setup 1760035926.070002 - 0.008495 (0.000007s): kobak\ban: query: querying items 1760035926.071388 - 0.009881 (0.001386s): KOBAK BBS: loading board specific plugins 1760035926.071530 - 0.010023 (0.000142s): KOBAK BBS: finished loading board specific plugins 1760035926.071535 - 0.010028 (0.000005s): KOBAK BBS: validating post 1760035926.071552 - 0.010045 (0.000017s): kobak\post: query: querying posts 1760035926.074796 - 0.013289 (0.003244s): kobak\post: query: presorting post keys 1760035926.074821 - 0.013314 (0.000025s): kobak\post: query: presorting post keys: done 1760035926.074822 - 0.013315 (0.000001s): kobak\post: query: building post files query 1760035926.074823 - 0.013316 (0.000001s): kobak\post: query: getting post files 1760035926.075333 - 0.013826 (0.000510s): kobak\post: query: post files query done 1760035926.075335 - 0.013828 (0.000002s): kobak\post: query: pairing posts and post files 1760035926.075337 - 0.013830 (0.000002s): kobak\post: query: sorting post files 1760035926.075338 - 0.013831 (0.000001s): kobak\post: query: post files setup completed 1760035926.075339 - 0.013832 (0.000001s): kobak\post: query: constructing post objects 1760035926.075379 - 0.013872 (0.000040s): kobak\post: query: constructing post objects done 1760035926.075380 - 0.013873 (0.000001s): kobak\post: query: starting lookups for thread locked statuses 1760035926.075384 - 0.013877 (0.000004s): kobak\post: query: querying unknown locked thread statuses 1760035926.075716 - 0.014209 (0.000332s): kobak\post: query: applying unknown locked thread statuses 1760035926.075720 - 0.014213 (0.000004s): kobak\post: query: setting up references/backlinks 1760035926.075727 - 0.014220 (0.000007s): kobak\post: get_posts: querying out-of-thread quotes 1760035926.075923 - 0.014416 (0.000196s): kobak\post: get_posts: applying quote backlinks to posts 1760035926.075980 - 0.014473 (0.000057s): kobak\post: query: finished. 1760035926.075994 - 0.014487 (0.000014s): KOBAK BBS: validating delete 1760035926.076031 - 0.014524 (0.000037s): kobak\current: Template file found 1760035926.076032 - 0.014525 (0.000001s): kobak\current: setting up HTML vars 1760035926.076036 - 0.014529 (0.000004s): kobak\html: setting up new instance 1760035926.076057 - 0.014550 (0.000021s): kobak\html: finished setup 1760035926.076061 - 0.014554 (0.000004s): kobak\current: setting up per-page HTML vars 1760035926.076093 - 0.014586 (0.000032s): KOBAK BBS: loading delete 1760035926.076102 - 0.014595 (0.000009s): kobak\current: finished setting up all HTML vars 1760035926.076104 - 0.014597 (0.000002s): start rendering html 1760035926.076121 - 0.014614 (0.000017s): loading report 1760035926.076130 - 0.014623 (0.000009s): called header.php 1760035926.076177 - 0.014670 (0.000047s): called footer.php 1760035926.076179 - 0.014672 (0.000002s): completed rendering most of the html 1760035926.076201 - 0.014694 (0.000022s): log finished 1760035926.076336 - 0.014829 (0.000135s): starting debug_t
|
SQL statistics:
time taken: 0.00135398 | 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.00322104 | 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` = '251327' AND p.`deleted` != '1' LIMIT 1 | no error (prepared query) |
time taken: 0.00049496 | 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` = '251327' AND p.`deleted` != '1' LIMIT 1 ) as sub) | no rows found or affected (prepared query) |
time taken: 0.00032091 | SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(250421)) AND `deleted` != 1 | no error |
time taken: 0.00018311 | SELECT `boardid`, `parentid`, `postid` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(251317)) AND `deleted` != 1 | no error |
actions:
after_modules_load | actions: 1 | start: 1760035926.06648400 | end: 1760035926.06650100 | took (total): 0.000017 |
before_validation | actions: 1 | start: 1760035926.06651800 | end: 1760035926.06652400 | took (total): 0.000006 |
header_meta | actions: 4 | start: 1760035926.07613400 | end: 1760035926.07615500 | took (total): 0.000021 |
setup_html | actions: 2 | start: 1760035926.07606800 | end: 1760035926.07610000 | took (total): 0.000032 |
validation | actions: 3 | start: 1760035926.06653900 | end: 1760035926.07600500 | took (total): 0.009466 |
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.73MB
key | ttl | hits |
---|---|---|
kobak_summary-23-8 | 42849 sec | 0 (current) |
kobak_thread-23-168967 | 86122 sec | 0 (current) |
kobak_thread-23-160435 | 86179 sec | 0 (current) |
kobak_thread-9-453195 | 86184 sec | 0 (current) |
kobak_thread-23-226463 | 86113 sec | 0 (current) |
kobak_thread-23-173764 | 86095 sec | 0 (current) |
kobak_summary-23-271738 | 42849 sec | 0 (current) |
kobak_thread-23-251373 | 86214 sec | 0 (current) |
kobak_thread-23-258099 | 86170 sec | 0 (current) |
kobak_banners | 42849 sec | 0 (current) |
kobak_thread-23-263017 | 86141 sec | 0 (current) |
kobak_thread-23-226053 | 86118 sec | 0 (current) |
kobak_thread-23-266840 | 86109 sec | 0 (current) |
kobak_thread-23-157531 | 86201 sec | 0 (current) |
kobak_thread-23-248689 | 86232 sec | 0 (current) |
kobak_thread-23-245619 | 86248 sec | 0 (current) |
kobak_thread-23-230330 | 86089 sec | 0 (current) |
kobak_thread-23-163296 | 86163 sec | 0 (current) |
kobak_thread-23-265884 | 86116 sec | 0 (current) |
kobak_thread-23-252306 | 86209 sec | 0 (current) |
kobak_thread-23-261025 | 86151 sec | 0 (current) |
kobak_thread-23-223614 | 86137 sec | 0 (current) |
kobak_thread-23-176663 | 86076 sec | 0 (current) |
kobak_thread-23-154669 | 86216 sec | 0 (current) |
kobak_thread-23-161359 | 86173 sec | 0 (current) |
kobak_thread-23-225484 | 86118 sec | 0 (current) |
kobak_thread-23-231277 | 86082 sec | 0 (current) |
kobak_thread-23-273644 | 86059 sec | 0 (current) |
kobak_thread-23-212094 | 86215 sec | 0 (current) |
kobak_summary-20-177807 | 42942 sec | 0 (current) |
kobak_thread-23-235111 | 86048 sec | 0 (current) |
kobak_thread-23-241198 | 86255 sec | 0 (current) |
kobak_thread-23-210228 | 86227 sec | 0 (current) |
kobak_thread-23-249419 | 86226 sec | 0 (current) |
kobak_thread-23-209297 | 86233 sec | 0 (current) |
kobak_summary-20-203880 | 42942 sec | 0 (current) |
kobak_summary-23-275533 | 42849 sec | 0 (current) |
kobak_thread-23-168004 | 86128 sec | 0 (current) |
kobak_thread-23-246557 | 86242 sec | 0 (current) |
kobak_thread-23-232271 | 86069 sec | 0 (current) |
kobak_thread-23-153733 | 86222 sec | 0 (current) |
kobak_thread-23-229702 | 86094 sec | 0 (current) |
kobak_thread-23-271738 | 86078 sec | 0 (current) |
kobak_thread-23-213038 | 86209 sec | 0 (current) |
kobak_summary-20-204892 | 42942 sec | 0 (current) |
kobak_thread-23-283222 | 86360 sec | 0 (current) |
kobak_summary-23-158588 | 42849 sec | 0 (current) |
kobak_thread-23-248435 | 86232 sec | 0 (current) |
kobak_thread-23-229371 | 86097 sec | 0 (current) |
kobak_summary-20-204992 | 42942 sec | 0 (current) |
kobak_thread-1-393196 | 86264 sec | 0 (current) |
kobak_thread-23-195835 | 86261 sec | 0 (current) |
kobak_thread-23-219756 | 86161 sec | 0 (current) |
kobak_thread-23-207332 | 86251 sec | 0 (current) |
kobak_thread-2-243042 | 86094 sec | 0 (current) |
kobak_thread-23-260056 | 86157 sec | 0 (current) |
kobak_thread-23-158471 | 86196 sec | 0 (current) |
kobak_thread-23-149882 | 86245 sec | 0 (current) |
kobak_thread-23-152797 | 86227 sec | 0 (current) |
kobak_thread-23-261971 | 86145 sec | 0 (current) |
kobak_thread-23-148838 | 86253 sec | 0 (current) |
kobak_thread-23-224569 | 86123 sec | 0 (current) |
kobak_thread-23-269755 | 86091 sec | 0 (current) |
kobak_thread-23-270721 | 86086 sec | 0 (current) |
kobak_thread-23-179529 | 86051 sec | 0 (current) |
kobak_thread-23-113722 | 86284 sec | 0 (current) |
kobak_summary-20-206665 | 42942 sec | 0 (current) |
kobak_summary-20-23478 | 42942 sec | 0 (current) |
kobak_summary-23-269545 | 42849 sec | 0 (current) |
kobak_thread-23-269545 | 86097 sec | 0 (current) |
kobak_thread-23-250421 | 86220 sec | 0 (current) |
kobak_thread-23-227441 | 86108 sec | 0 (current) |
kobak_thread-23-171898 | 86105 sec | 0 (current) |
kobak_thread-23-164215 | 86157 sec | 0 (current) |
kobak_thread-23-268788 | 86097 sec | 0 (current) |
kobak_thread-23-228405 | 86102 sec | 0 (current) |
kobak_summary-23-276497 | 42849 sec | 0 (current) |
kobak_thread-23-167072 | 86139 sec | 0 (current) |
kobak_thread-23-165164 | 86150 sec | 0 (current) |
kobak_summary-23-229702 | 42849 sec | 0 (current) |
kobak_thread-23-263967 | 86135 sec | 0 (current) |
kobak_summary-20-191910 | 42942 sec | 0 (current) |
kobak_thread-20-114076 | 86054 sec | 0 (current) |
kobak_thread-23-140486 | 86258 sec | 0 (current) |
kobak_thread-23-149072 | 86252 sec | 0 (current) |
kobak_thread-23-198531 | 86259 sec | 0 (current) |
kobak_thread-23-244683 | 86253 sec | 0 (current) |
kobak_summary-23-241198 | 42849 sec | 0 (current) |
kobak_thread-23-208337 | 86239 sec | 0 (current) |
kobak_thread-23-170951 | 86110 sec | 0 (current) |
kobak_thread-23-223945 | 86136 sec | 0 (current) |
kobak_summary-20-204006 | 42942 sec | 0 (current) |
kobak_thread-23-150892 | 86239 sec | 0 (current) |
kobak_thread-23-158588 | 86195 sec | 0 (current) |
kobak_thread-23-214942 | 86197 sec | 0 (current) |
kobak_summary-20-209324 | 42942 sec | 0 (current) |
kobak_thread-23-207338 | 86245 sec | 0 (current) |
kobak_summary-20-126586 | 42942 sec | 0 (current) |
kobak_thread-23-174779 | 86089 sec | 0 (current) |
kobak_thread-23-175525 | 86089 sec | 0 (current) |
kobak_thread-23-274581 | 86051 sec | 0 (current) |
kobak_thread-23-233244 | 86064 sec | 0 (current) |
kobak_thread-20-211489 | 86213 sec | 0 (current) |
kobak_thread-23-220710 | 86156 sec | 0 (current) |
kobak_thread-23-217854 | 86174 sec | 0 (current) |
kobak_thread-23-267774 | 86103 sec | 0 (current) |
kobak_cache | 42848 sec | 1 (current) |
kobak_thread-2-237833 | 86118 sec | 0 (current) |
tor_exit_list | 3412 sec | 0 (current) |
kobak_thread-23-206381 | 86252 sec | 0 (current) |
kobak_summary-23-17780 | 42849 sec | 0 (current) |
kobak_thread-23-172844 | 86100 sec | 0 (current) |
kobak_summary-20-208503 | 42942 sec | 0 (current) |
kobak_summary-20-205694 | 42942 sec | 0 (current) |
kobak_thread-23-256159 | 86181 sec | 0 (current) |
kobak_thread-23-195801 | 86262 sec | 0 (current) |
kobak_thread-23-215922 | 86189 sec | 0 (current) |
kobak_thread-23-247496 | 86237 sec | 0 (current) |
kobak_summary-20-194340 | 42942 sec | 0 (current) |
kobak_thread-23-254259 | 86197 sec | 0 (current) |
kobak_thread-23-255217 | 86190 sec | 0 (current) |
kobak_thread-23-259049 | 86164 sec | 0 (current) |
kobak_thread-23-218823 | 86167 sec | 0 (current) |
kobak_thread-23-272690 | 86066 sec | 0 (current) |
kobak_thread-23-231176 | 86088 sec | 0 (current) |
kobak_summary-20-173225 | 42942 sec | 0 (current) |
kobak_thread-2-237360 | 86143 sec | 0 (current) |
kobak_thread-23-169916 | 86116 sec | 0 (current) |
kobak_summary-23-113722 | 42849 sec | 0 (current) |
kobak_summary-23-282265 | 42849 sec | 0 (current) |
kobak_catalog-9 | 86065 sec | 0 (current) |
kobak_thread-23-214011 | 86203 sec | 0 (current) |
kobak_thread-23-253246 | 86202 sec | 0 (current) |
kobak_summary-23-281327 | 42849 sec | 0 (current) |
kobak_thread-23-216902 | 86180 sec | 0 (current) |
kobak_thread-23-155653 | 86212 sec | 0 (current) |
kobak_thread-23-156594 | 86206 sec | 0 (current) |
kobak_thread-23-211166 | 86221 sec | 0 (current) |
kobak_thread-2-234666 | 86166 sec | 0 (current) |
kobak_thread-9-166250 | 86209 sec | 0 (current) |
kobak_thread-23-177621 | 86066 sec | 0 (current) |
kobak_thread-23-159431 | 86185 sec | 0 (current) |
kobak_thread-9-471837 | 86292 sec | 0 (current) |
kobak_thread-23-178595 | 86059 sec | 0 (current) |
kobak_thread-23-222587 | 86144 sec | 0 (current) |
kobak_thread-23-271651 | 86079 sec | 0 (current) |
kobak_summary-23-277491 | 42849 sec | 0 (current) |
kobak_thread-23-162348 | 86168 sec | 0 (current) |
kobak_thread-23-264932 | 86122 sec | 0 (current) |
kobak_thread-23-189485 | 86266 sec | 0 (current) |
kobak_thread-1-395707 | 86240 sec | 0 (current) |
kobak_thread-23-221648 | 86150 sec | 0 (current) |
kobak_thread-23-234185 | 86058 sec | 0 (current) |
kobak_thread-23-257111 | 86175 sec | 0 (current) |
kobak_thread-23-151845 | 86233 sec | 0 (current) |
kobak_thread-23-166153 | 86145 sec | 0 (current) |
kobak_summary-23-280309 | 42849 sec | 0 (current) |
kobak_thread-2-231280 | 86191 sec | 0 (current) |
kobak_thread-23-175718 | 86083 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]