Server Setup: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
Created page with "== htaccess == added .htaccess sudo a2enmod rewrite in /etc/apache2/apache2.conf, find <Directory /var/www/> and change AllowOverride None to AllowOverride All sudo service ap..."
 
No edit summary
 
Line 1: Line 1:
== htaccess ==
== htaccess ==
added .htaccess
# added .htaccess
sudo a2enmod rewrite
# sudo a2enmod rewrite
in /etc/apache2/apache2.conf, find <Directory /var/www/> and change AllowOverride None to AllowOverride All
# in /etc/apache2/apache2.conf, find <Directory /var/www/> and change AllowOverride None to AllowOverride All
sudo service apache2 restart
# sudo service apache2 restart

Latest revision as of 20:41, 25 April 2014

htaccess

  1. added .htaccess
  2. sudo a2enmod rewrite
  3. in /etc/apache2/apache2.conf, find <Directory /var/www/> and change AllowOverride None to AllowOverride All
  4. sudo service apache2 restart