Hello,
I used Apache before with this .htaccess in VHost Root dir:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?!$1!&%{QUERY_STRING} [L]
For example, if server can't find some file it's rewrite to index.php to download and save it.
For...