Commit Graph

23 Commits (8629831df2420cfde5e902e793e84f9129d2dae1)

Author SHA1 Message Date
Stefan Bühler 4f4d40f3f7 Add "lighty.req_env" table to mod_magnet for setting/getting environment values for cgi (fixes #1967, thx presbrey) 14 years ago
Stefan Bühler c21623456c mod_magnet: Add env["request.path-info"] 14 years ago
Stefan Bühler 1ff333cb4a mod_magnet: Add env["request.remote-ip"] (fixes #1740) 14 years ago
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions) 14 years ago
Stefan Bühler ad12e4c5b2 Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631) 14 years ago
Stefan Bühler f08cd32877 Close connection in mod_magnet if returned status code 14 years ago
Stefan Bühler 73189c64e7 Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page 15 years ago
Stefan Bühler 80be71bd43 Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env (#1308) 15 years ago
Jan Kneschke e49da67a47 only set the etag if we have one 16 years ago
Jan Kneschke 41bcf415c4 added content-type to the .stat() and decoded the st_mode 16 years ago
Jan Kneschke bf0f7832c1 added lighty.stat() which uses the stat-cache to reduce the number of syscalls 16 years ago
Jan Kneschke 0780de8bfa added the original URI, before the rewrite, to the env. 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Marcus Rückert 3e7e2d528d - marked parameter as unused 16 years ago
Jan Kneschke 634ec365f5 make the config-options arrays instead of strings 16 years ago
Jan Kneschke a34a3ae173 reverted [1312] as it led to seg-faults 16 years ago
Jan Kneschke 2a3ac19883 rici pointed me the lua_cpcall() to call a lua-c-function in protected mode 16 years ago
Jan Kneschke e931d4f27f fixed compile if lua is not enabled 16 years ago
Jan Kneschke 63ec609a56 - added set() for .env[] 16 years ago
Jan Kneschke c7b9858b03 added support for lighty.status[] in mod_magnet 16 years ago
Jan Kneschke b79f1a24c9 - moved all global vars to the lighty.* namespace 16 years ago
Jan Kneschke 925cb27a14 - add a try-catch around add-content 16 years ago
Jan Kneschke daeab348cd added mod_magnet 16 years ago