XSendFile
XSendFile is a plugin for apache server so that PHP file can process big files.
installation in windows:
manually transfer the mod_xsendfile.so file to the 'apache/modules/' folder.
open http.conf and paste this line :
make sure there's no '#' before otherwise it'll not work.
now save the http.conf file and restart the apache server.
now to set the modes of XSendFile paste these lines in httpd.conf:
the XSendFilePath is use to set a whitelist folder.
the path I used above is relative to the main apache server directory.
you can also use absolute path like: "c:\wamp\www\myfiles\"
XSendFile is a plugin for apache server so that PHP file can process big files.
installation in windows:
manually transfer the mod_xsendfile.so file to the 'apache/modules/' folder.
open http.conf and paste this line :
LoadModule xsendfile_module modules/mod_xsendfile.so
make sure there's no '#' before otherwise it'll not work.
now save the http.conf file and restart the apache server.
now to set the modes of XSendFile paste these lines in httpd.conf:
# Enable mod_xsendfile #permitted values on/off XSendFile on # XSendFilePath allow you to add additional paths to some # kind of white list. All files within these paths are #allowed to get served through mod_xsendfile XSendFilePath ../../../www/backup/downloads/mplayers
the XSendFilePath is use to set a whitelist folder.
the path I used above is relative to the main apache server directory.
you can also use absolute path like: "c:\wamp\www\myfiles\"
No comments:
Post a Comment