# Block access to every file starting with a dot Require all denied # Set Error documents ErrorDocument 404 /404.php ErrorDocument 403 /404.php ErrorDocument 401 /404.php # Rewrite Stuff RewriteEngine on RewriteBase / Options +FollowSymLinks -Indexes # Rewrite Rules RewriteRule ^feedback?/? http://forum.flash.moe/viewforum.php?f=22 RewriteRule ^credits?/? credits.php RewriteRule ^index?/? index.php RewriteRule ^login|register|forgotpassword?/? authenticate.php RewriteRule ^donate?/? donate.php RewriteRule ^contact?/? contact.php ## Info pages RewriteRule ^r/([a-z]+)$ infopage.php?r=$1 ## News RewriteRule ^news?/?$ news.php RewriteRule ^news/([0-9]+)$ news.php?id=$1 RewriteRule ^news.xml$ news.php?xml # Serving Images RewriteRule ^a/([0-9]+)$ imageserve.php?m=avatar&u=$1 RewriteRule ^a/([0-9]+).png$ imageserve.php?m=avatar&u=$1