Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^q/([A-Za-z0-9_-]+)$ public/q.php?c=$1 [L,QSA]
</IfModule>
