All pastes #710328 Raw Edit

Stuff

public text v1 · immutable
#710328 ·published 2007-09-25 13:05 UTC
rendered paste body
LimitRequestBody 10000000000000

<IfModule mod_security.c>
	SecFilterEngine Off
	SecFilterScanPOST Off
	SetEnvIfNoCase Content-Type "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
</IfModule>

<IfModule mod_gzip.c>
	mod_gzip_on No
</IfModule>

<IfModule mod_deflate.c>
	SetEnvIfNoCase Request_URI testenv.cgi no-gzip dont-vary
	SetEnvIfNoCase Request_URI upload_status.cgi no-gzip dont-vary
	SetEnvIfNoCase Request_URI upload.cgi no-gzip dont-vary
</IfModule>


and 


RewriteEngine on

RewriteRule    ^$	/cgi-bin/index.cgi [L]
RewriteRule    ^([0-9A-Z]{12})/(.+)$	/cgi-bin/index.cgi?act=download1&id=$1&fname=$2 [L]
RewriteRule    ^del\-([0-9A-Z]{12})\-([0-9A-Z]+)/.+$	/cgi-bin/index.cgi?del=$1-$2 [L]

RewriteCond	%{REQUEST_FILENAME} !-f
RewriteRule    ^([a-z0-9\-\_]+).html$	/cgi-bin/index.cgi?act=page&tmpl=$1 [L]