This file contains hidden or 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
######################################## | |
# BASH DEPENDENCY CHECKER | |
# | |
######################################## | |
# create an array of packages depended on | |
declare -a DEPENDENCIES=( | |
'pwd' 'curl' 'missing-package' | |
) |
This file contains hidden or 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
# 301 redirect one domain to another | |
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteRule ^(.*)$ http://www.__DOMAIN.what__/$1 [R=301] | |
# Nice URLS PHP .htaccess | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f |