Skip to content

Instantly share code, notes, and snippets.

@mattfelsen
Created April 9, 2014 02:40
Show Gist options
  • Save mattfelsen/10221243 to your computer and use it in GitHub Desktop.
Save mattfelsen/10221243 to your computer and use it in GitHub Desktop.
Web-related setup on Ubuntu/AWS
Ubuntu web-related setup
# Install mysql extension for php
sudo apt-get install php5-mysql
# Enable mod_rewrite in Apache
sudo a2enmod rewrite
# Allow .htaccess to do mod_rewrite rules
# in /etc/apache2/httpd.conf or /etc/apache2/apache.conf or /etc/apache2/sites-enabled/000-default
# replace
AllowOverride None
# with
AllowOverride FileInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment