bin/visage in visage-app-0.1.6 vs bin/visage in visage-app-0.1.7
- old
+ new
@@ -12,24 +12,24 @@
config = @root.join('lib/visage/config.ru').to_s
Rack::Server.start(:config => config, :Port => 9292)
when "genapache"
require 'socket'
fqdn = Socket.gethostbyname(Socket.gethostname).first
- public_dir = @root.join('lib/visage-app/public')
+ public_dir = @root.join('lib/visage/public')
puts <<-CONFIG
<VirtualHost *>
ServerName #{fqdn}
ServerAdmin root@#{fqdn}
DocumentRoot #{public_dir}
<Directory "#{public_dir}">
- Options FollowSymLinks Indexes
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
+ Options FollowSymLinks Indexes
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
</VirtualHost>
CONFIG
else
puts "Usage: visage <start|genapache>"