capricorn 0.2.01 → 0.2.02

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,14 @@ module Capricorn
47
47
  FileUtils.chown_R(system.web_user, system.web_group, httpdocs_path)
48
48
 
49
49
  File.open(File.join(system.satellite_root, '../conf/vhost.conf'), 'w+') do |f|
50
- f.puts "DocumentRoot #{httpdocs_path}/public"
50
+ f.write %{DocumentRoot #{httpdocs_path}/public
51
+ <Directory "#{httpdocs_path}/public">
52
+ Options All
53
+ AllowOverride All
54
+ Order allow,deny
55
+ Allow from all
56
+ </Directory>
57
+ }
51
58
  end
52
59
  end
53
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capricorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.01
4
+ version: 0.2.02
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke