- Flush DNS:
sudo killall -HUP mDNSResponder
- Show permissions:
stat -c '%a - %n' *
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
# Removes index.php | |
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php/$1 | |
# Depends on your web host and setup, check with your web host specific settings | |
RewriteCond %{ENV:SECURE_REDIRECT} !=on |