Gaia/Hacking: Difference between revisions

Line 182: Line 182:
  $ sudo apt-get install apache2
  $ sudo apt-get install apache2


Enable virtual hosts by changing the first two lines of /etc/apache2/sites-available/default to:
Enable virtual hosts by changing the first line of /etc/apache2/sites-available/default from:
 
<VirtualHost *:80>
 
to:


  NameVirtualHost *
  NameVirtualHost *
  <VirtualHost *>
  <VirtualHost *>
(Note that the first line is new, the second line should replace the first line in the default version of that file)


Create a virtual host config at /etc/apache2/sites-available/gaiamobile.org
Create a virtual host config at /etc/apache2/sites-available/gaiamobile.org
Line 234: Line 236:
Restart Apache
Restart Apache
  $ sudo apache2ctl graceful
  $ sudo apache2ctl graceful


=== Point gaiamobile.org at your machine ===
=== Point gaiamobile.org at your machine ===
Confirmed users
38

edits