rogi29/RuddyPHP/development/.htaccess - Htaccess File

rogi29/RuddyPHP/development/.htaccess

# Disable directory browsing:
Options All -Indexes

# Prevent folder listing:
IndexIgnore *

# Set rewrite engine
RewriteEngine On

# Forbidden folder
RewriteRule ^vendor/ - [F]

# Rewrite Rule
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache