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
# Author Jonathon Hibbard | |
##################### Godaddy Apache .htaccess for example.com ##################### | |
Options +FollowSymlinks | |
RewriteEngine On | |
RewriteBase / | |
##################### Try and prevent looping madness ##################### | |
RewriteCond %{ENV:REDIRECT_STATUS} 200 | |
RewriteRule .* - [L] |
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
server { | |
listen 80; | |
server_name images.example.com; | |
access_log /var/sites/images.example.com/logs/access.log; | |
error_log /var/sites/images.example.com/logs/error.log; | |
root /var/sites/images.example.com/htdocs; | |
location / { | |
index index.php index.html index.htm; | |
} | |
location = /favicon.ico { |
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
# Recursively find all files in the current directory and change to access of 644 | |
find ./ -type f -exec chmod 644 {} \; | |
# Recursively find all directories in the current directory and change to access of 755 | |
find ./ -type d -exec chmod 755 {} \; |
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
bower_components/ | |
node_modules/ | |
tmp/ | |
.AppleDouble | |
.LSOverride | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes |
OlderNewer