Created
April 9, 2014 02:40
-
-
Save mattfelsen/10221243 to your computer and use it in GitHub Desktop.
Web-related setup on Ubuntu/AWS
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
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