<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
# Set RewriteBase below to the absolute path
# to your Lace installation (e.g. /lace/)
RewriteBase /lace/
RewriteRule ^logs/(.[^\/]+)/$ logs/?date=$1 [L]
</IfModule>

ErrorDocument 403 ./index.php
ErrorDocument 404 ./index.php