Skip to content

Instantly share code, notes, and snippets.

View prashantpalikhe's full-sized avatar

Prashant Palikhe prashantpalikhe

View GitHub Profile
# Welcome to your htaccess file.
# Remember that modifying this file can break the entire website
# so please edit carefully.
# Also remember that the order of the rules below does matter,
# so be sure of what you're doing before shuffling things around.
AuthType Basic
AuthName "My Dev Environment"
# Specify what user/password file the server should look
[php]
default_charset="UTF-8"
realpath_cache_size=4096K
realpath_cache_ttl=7200
post_max_size=128M
upload_max_filesize=128M
file_uploads=1

##Auto-deploy with php and github on an Ubuntu Amazon EC2 box

Fork from other gist Build auto-deploy with php and git(hub) on an EC2 AMAZON AMI instance - Covers a basic Ubuntu isntall

When ever it says www-data below, it's the user Apache runs under. So if your apache user is called something else, change it to that.

##Install git

sudo aptitude install git-core