<ifModule mod_xsendfile.c>

	#uncomment setenv line if XSendFileshould be enabled
	#setenv XSendFile enabled

	#uncomment XSendFileAllowAbove for XSendFile versions lower 0.10, otherwise set XSendFilePath in the virtual host's conf
	#XSendFileAllowAbove On

	XSendFile on

</ifModule>


#php_value upload_max_filesize 150M
#php_value post_max_size 150M

RewriteEngine on


#RewriteBase   /

#download site
RewriteRule ^download/([a-z0-9]+)\.html$		download.php?key=$1&%{QUERY_STRING}

#preview image
RewriteRule ^download/([a-z0-9]+)\.jpg$			preview.img.php?key=$1&%{QUERY_STRING}

#download files
RewriteRule ^files/([a-z0-9]+)\..*$				files.php?key=$1

#deletion site
RewriteRule ^delete/([a-z0-9]+)\.html$			delete.php?key=$1&%{QUERY_STRING}

#grouped files
RewriteRule ^filesgroup/([a-z0-9]+)\.html$		filesgroup.php?key=$1

#please use your absolute WEB directory
ErrorDocument 404 /demos/SimpleFS/notfound
RewriteRule ^notfound$ notfound.php

Options -Indexes
