This script is not really useful any more.
Tiki ships with .htaccess in all directories except the root. In root, the file is _htaccess and you just need to rename it to .htaccess to use it. (it is not .htaccess by default because it could overwrite an existing .htaccess by accident) This is useful mostly for Clean URLs but also for Performance and Security.
Save it as htaccess.sh into your tiki home, chmod u+x it, and run it from inside your tiki home: ./htaccess.sh enables .htaccess files
Copy to clipboard
|