robocon/platwo-eventsniff-api/master/.htaccess - Htaccess File

robocon/platwo-eventsniff-api/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
</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
REQUEST_FILENAME, SCRIPT_FILENAME

Comments

Apache