Options All -Indexes
ErrorDocument 404 /404.php

FileETag MTime Size

<IfModule mod_rewrite.c>
	RewriteEngine On

	RewriteRule ^sitemap\.xml$ feed.php?output_type=sitemap [L]
	RewriteRule ^(.*)(\.html|\.htm)$ index.php [L]
	RewriteRule ^(.*)(\.rss|\.atom|\.txt)$ feed.php [L]
	RewriteRule ^([^.]*)/?$ index.php [L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
</IfModule>

<IfModule mod_expires.c>
	ExpiresActive on

	ExpiresByType image/gif "access plus 1 months"
	ExpiresByType image/jpeg "access plus 1 months"
	ExpiresByType image/png "access plus 1 months"	
</IfModule>