|
Apache HTTP Server Version 1.3Module mod_mmap_static
This module is contained in the AddModule modules/experimental/mod_mmap_static.o Summary
This is an experimental module and should be used with
care. You can easily create a broken site using this module, read this
document carefully.
This mmap()ing is done once at server start or restart, only. So whenever
one of the mapped files changes on the filesystem you have to
restart the server by at least sending it a HUP or USR1 signal (see the
Stopping and Restarting documentation). To
reiterate that point: if the files are modified in place without
restarting the server you may end up serving requests that are completely
bogus. You should update files by unlinking the old copy and putting a new
copy in place. Most tools such as DirectivesMMapFile
Syntax: MMapFile filename ...
The
Be careful with the filename arguments: They have to literally
match the filesystem path Apache's URL-to-filename translation handlers
create. We cannot compare inodes or other stuff to match paths through
symbolic links etc. because that again would cost extra Notice: You cannot use this for speeding up CGI programs or other files which are served by special content handlers. It can only be used for regular files which are usually served by the Apache core content handler. Example:MMapFile /usr/local/apache/htdocs/index.html
Note: don't bother asking for a for a find /www/htdocs -type f -print \ | sed -e 's/.*/mmapfile &/' > /www/conf/mmap.conf Apache HTTP Server Version 1.3 |
|||||||||||||||||
With any suggestions or questions please feel free to contact us |