STARTphp_flag apc.cache_by_default Off <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f # RewriteRule ^$ /admin/ [R=302,L] RewriteRule ^(.*)$ app.php [QSA,L] </IfModule> AuthUserFile /var/www/html/LC/web/.htpasswd AuthGroupFile /dev/null AuthName "Basic Auth" AuthType Basic require valid-user <IfModule mod_expires.c> # ExpiresActive On # ExpiresByType image/gif "access plus 1 week" # ExpiresByType image/jpeg "access plus 1 week" # ExpiresByType image/png "access plus 1 week" # ExpiresByType application/x-shockwave-flash "access plus 30 minutes" # ExpiresByType application/rss+xml "access plus 30 minutes" # ExpiresByType application/javascript "access plus 30 minutes" # ExpiresByType text/html "modification plus 15 minutes" # ExpiresByType text/css "access plus 1 week" # ExpiresByType text/js "access plus 1 week" # ExpiresByType text/javascript "access plus 1 week" </IfModule> END