robocon/platwo-clinic/master/.htaccess
<IfModule mod_php5.c>
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
php_flag log_errors on
php_value error_log /root/web_api/clinic-api.pla2app.com/public_html/errors.log
</IfModule>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /
# Deny Access to Hidden Files and Directories
RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)." - [F]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php/$1 [L]
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None
On Github License
Files
Download PDF of Htaccess file