AddDefaultCharset UTF-8 DirectoryIndex index.html index.htm index.php default.html Options -Indexes RewriteEngine on RewriteBase / ReWriteCond %{REQUEST_URI} pda$ RewriteRule .* /popup/pda.html [R,L] ReWriteCond %{REQUEST_URI} ^/api/ RewriteRule .* /api.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ReWriteCond %{REQUEST_URI} \.html$ RewriteRule .* /nf.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ReWriteCond %{REQUEST_URI} /module/app_mediabrowser\..*$ RewriteRule .* /nf.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ReWriteCond %{REQUEST_URI} \.xml$ RewriteRule .* /nf.php deny from all deny from all Order Allow,Deny Deny from all ExpiresDefault "access plus 7 day" ExpiresActive on ExpiresByType image/jpeg "access plus 7 day" ExpiresByType image/gif "access plus 7 day" ExpiresByType image/png "access plus 7 day"