Sha256: 41931124b8a561a5acea03cef87c5fdfe0429aceae1c70f6ff85c7e21afbd80c
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
before do puts 'before' end app_pool do |p| p.name :MyAppPool p.runtime_version :'v2.0' p.start_mode 'AlwaysRunning' p.process_model do |m| m.identity_type :SpecificUser m.idle_timeout '0.00:30:00' m.username ENV['APP_POOL_USERNAME'] m.password SensitiveValue.new(ENV['APP_POOL_PASSWORD']) end p.site do |s| s.name :MySite s.path '/' s.binding 'http/*:8090:localhost' s.binding 'http/*:8090:test.local' s.binding "net.tcp/808:*" s.binding "net.pipe/*" s.physical_path 'c:\\temp\\MySite' s.application do |a| a.name :MyApp a.path '/MyApp' a.physical_path 'c:\\temp\\MySite\\MyApp' a.auto_start_provider "example", "Example.Class, Example" a.virtual_directory do |v| v.name :MyAppVirtualDirectory v.path '/AppVDir' v.physical_path 'c:\\temp\\MySite\MyVDir' end end s.virtual_directory do |v| v.name :MySiteVirtualDirectory v.path '/SiteVDir' v.physical_path 'c:\\temp\\MySite\MyVDir' end end end ftp_site do |s| s.name :MyFtp s.binding 'ftp://*:21' s.physical_path 'c:\\temp\\MyFtp' s.enable_authentication :anonymous s.allow_authorization [:read, :write], { :users => '*', :roles => '' } s.allow_ssl end after do puts "done" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iisconfig-0.6.0 | test/example.rb |