RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

<IfModule mod_headers.c>
    Header set X-Robots-Tag "noindex, nofollow, noarchive"
    <FilesMatch "\.(doc|pdf|png|jpe?g|gif)$">
        Header set X-Robots-Tag "noindex, noarchive, nosnippet"
    </FilesMatch>
</IfModule>

php_value max_execution_time 6000