pulipulichen/php-file-host/master/.htaccess - Htaccess File

pulipulichen/php-file-host/master/.htaccess

# Enable rewrite engine and route requests to framework
RewriteEngine On

# Some servers require you to specify the `RewriteBase` directive
# In such cases, it should be the path (relative to the document root)
# containing this .htaccess file
#
# RewriteBase /

#RewriteCond %{REQUEST_URI} .ini$
#RewriteRule .ini$ - [R=404]
#RewriteRule .css$ - %{REQUEST_URI}
#RewriteRule .php$ - [R=404]

#RewriteCond %{REQUEST_FILENAME} !-l
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond .css$ !-f
#RewriteRule .* index.php [L,QSA]
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

RewriteCond $1 !^(index.php|ext_apps|html5|LICENSE|README.md|postmessage.html|robots.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache