Enable xsendfile to reduce CPU load when downloading big file. Also enable posix to get permissions, and probe real size
parent
66dcd25331
commit
ad60e37425
3 changed files with 25 additions and 0 deletions
@ -0,0 +1,6 @@ |
||||
{ |
||||
if ( -e '/usr/lib64/httpd/modules/mod_xsendfile.so' || |
||||
-e '/usr/lib/httpd/modules/mod_xsendfile.so'){ |
||||
$OUT .= "LoadModule xsendfile_module modules/mod_xsendfile.so\n"; |
||||
} |
||||
} |
Loading…
Reference in new issue