Options +FollowSymLinks -Indexes -MultiViews
RewriteEngine On
# Jump to non www address
# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# Main address handling
RewriteRule ^([^.]*)$ index.php?arg=$1 [L]

<FilesMatch "^screenshot|ip$">
Order Allow,Deny
Deny from all
</FilesMatch>