Apache Web Server: Installing Apache: sudo apt-get install apache2 apache2-doc apache2-utils Start, Stop & Restart Apache: sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 restart Testing Apache in web browser: http//:localhost Apache mod rewrite in Ubuntu: To enable an Apache 2 module, you can run: sudo a2enmod rewrite Next, sudo vi /etc/apache2/sites-available/default Look for the Directory section referring to the folder where your site lives (this is typically <Directory /var/www>), and change the line: AllowOverri
Recent comments