[Info-vax] Apache... anyone built mod_limitipconn for VMS?
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Thu Jan 14 20:40:35 EST 2010
For those of you following along at home, with this new module, I can now:
HTTPD.CONF:
:
:
LoadModule status_module modules/mod_status.exe
LoadModule limitipconn_module modules/mod_limitipconn.exe
:
:
ExtendedStatus On
:
:
ErrorDocument 503 "Bandwidth abuse! You are limited to 1 download at a time."
:
:
<VirtualHost *>
ServerName www.the-domain.com
ServerAlias the-domain.com
ServerAdmin webmaster at the-domain.com
DocumentRoot /the_domain_root_dir
<IfModule mod_limitipconn.c>
<Directory "/the_domain_root_dir/*">
Options +Indexes
IndexOptions +SuppressLastModified +NameWidth=*
AllowOverride None
Order allow,deny
Allow from all
MaxConnPerIP 1
OnlyIPLimit application/x-gzip application/zip
</Directory>
</IfModule>
</VirtualHost>
Clients have normal access to the web site but downloads in the form of
ZIP archives (and these are large ZIP archives) are limited to only one
download per IP (eg. client).
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
http://www.quirkfactory.com/popart/asskey/eqn2.png
"Well my son, life is like a beanstalk, isn't it?"
More information about the Info-vax
mailing list