tail -f /var/log/apache2/error.log
get apptitude
sudo apt-cache search aptitude
sudo apt-get install aptitude
sudo aptitude search rewrite
enable rewrite engine
sudo a2enmod rewrite
tail -f /var/log/apache2/error.log
sudo apt-cache search aptitude
sudo apt-get install aptitude
sudo aptitude search rewrite
sudo a2enmod rewrite
What do we need?
- your on multiple domains
- your need to test your projects with same configuration with the server
- test your projects without touching your public server
- your just organizing your projects into groups
- or setup a local copy of your blog or website
127.0.0.1 localhost
127.0.0.1 www.tildemark.com
127.0.0.1 tildemark.com
<<local path>>\xampp\apache\conf\extra
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot E:/xampp/htdocs/ # change this line with your htdocs folder
ServerName localhost
</VirtualHost>
<VirtualHost www.tildemark.com>
DocumentRoot "E:\www\www.tildemark.com"
ServerName www.tildemark.com
ServerAlias www.tildemark.com
CustomLog "E:\www\www.tildemark.com\www.tildemark.com-access_log" combined
ErrorLog "E:\www\www.tildemark.com\www.tildemark.com-error_log"
<Directory "E:\www\www.tildemark.com">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
127.0.0.1 domain.localsudo gedit /etc/apache2/sites-available/
domain.localsudo ln -s /etc/apache2/sites-available/domain.local /etc/apache2/sites-enabled/domain.local
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 reload
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade
ppa:mozillateam/firefox-stable