capricorn 0.2.01 → 0.2.02
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capricorn/actors/plesk_actor.rb +8 -1
- metadata +1 -1
@@ -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.
|
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
|
|