This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
ubuntu apache setup instructions fail - DocumentRoot does not exist #143
Open
Description
$ visage-app genapache
<VirtualHost *>
ServerName ip-10-128-16-233.ap-southeast-2.compute.internal
ServerAdmin root@ip-10-128-16-233.ap-southeast-2.compute.internal
DocumentRoot /var/lib/gems/1.8/gems/visage-app-2.1.0/lib/lib/visage-app/public
<Directory "/var/lib/gems/1.8/gems/visage-app-2.1.0/lib/lib/visage-app/public">
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# visage-app genapache > /etc/apache2/sites-available/visage
# a2ensite visage
Enabling site visage.
To activate the new configuration, you need to run:
service apache2 reload
# a2dissite default
Site default disabled.
To activate the new configuration, you need to run:
service apache2 reload
# service apache2 reload
* Reloading web server config apache2
Warning: DocumentRoot [/var/lib/gems/1.8/gems/visage-app-2.1.0/lib/lib/visage-app/public] does not exist
[Tue Apr 01 23:41:40 2014] [warn] NameVirtualHost *:80 has no VirtualHosts
...done.