Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziguzagu/perlbal-plugin-expires
Apache mod_expires for Perlbal web server
https://github.com/ziguzagu/perlbal-plugin-expires
cpan perl
Last synced: 29 days ago
JSON representation
Apache mod_expires for Perlbal web server
- Host: GitHub
- URL: https://github.com/ziguzagu/perlbal-plugin-expires
- Owner: ziguzagu
- Created: 2011-06-22T14:57:41.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-30T11:38:08.000Z (almost 12 years ago)
- Last Synced: 2024-10-15T10:17:19.331Z (2 months ago)
- Topics: cpan, perl
- Language: Perl
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Perlbal::Plugin::Expires - Apache mod_expires for Perlbal web serverSYNOPSIS
LOAD Expires
CREATE SERVICE web
SET role = web_server
SET listen = 127.0.0.1:8000
SET docroot = /path/to/docs
SET plugins = Expires
Expires default = access plus 1 day 12 hours
Expires image/gif = access plus 10 years
ENABLE webDESCRIPTION
Perlbal::Plugin::Expires is the module to set Expires header to the
response of perlbal webserver the same way as Apache mode_expires.CONFIGURATIONS
Expires [service] = plus ( )+* service
You can specify service name explicitly to apply expires. Default is
last created service.* type
Content-Type. Supported MIME Types on Perlbal web server are listed
in $Perlbal::ClientHTTPBase::MimeType.* base
access, now (same as access) or modification.
* (num unit)+
Datetime string. num should be integer value and unit is one of
* years
* months
* weeks
* days
* hours
* minutes
* secondsLast 's' can be omiited.
e.g)
* 10 years
* 7 days 1 hour 30 minutes 45 secondsSEE ALSO
mod_expiresAUTHOR
Hiroshi SakaiLICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.