Help -- how to set effective user under IIS? (Sinatra app)
6 posts
• Page 1 of 1
- vdanilchenko
- Posts: 3
- Joined: 20 Oct 2014, 09:56
Help -- how to set effective user under IIS? (Sinatra app)
Hi all,
We need to be able to run a Sinatra app under Helicon Zoo using specific domain (not local) account. We have set all our IIS app pools to use that account, but our Sinatra app still runs under the default local user. I suspect this must be a Helicon Zoo config option (probably analogous to how mod_passenger does it, as either config.ru owner or an explicitly specified username/group), but I can't figure out how to do this under Helicon Zoo.
In the IIS console I can browse to my app, double-click on Helicon Zoo icon, and edit my 'ruby.project' application settings. That looks like the place where effective username setting might go, but no such settings currently exist there, and I could find nothing in Helicon Zoo docs to document what settings are permitted there.
Can anyone help us figure out how to run a Sinatra app under Helicon Zoo using a specific domain account? Am I on the right track in looking for a Helicon Zoo config options, or is it done in a different way entirely?
Thanks in advance!
We need to be able to run a Sinatra app under Helicon Zoo using specific domain (not local) account. We have set all our IIS app pools to use that account, but our Sinatra app still runs under the default local user. I suspect this must be a Helicon Zoo config option (probably analogous to how mod_passenger does it, as either config.ru owner or an explicitly specified username/group), but I can't figure out how to do this under Helicon Zoo.
In the IIS console I can browse to my app, double-click on Helicon Zoo icon, and edit my 'ruby.project' application settings. That looks like the place where effective username setting might go, but no such settings currently exist there, and I could find nothing in Helicon Zoo docs to document what settings are permitted there.
Can anyone help us figure out how to run a Sinatra app under Helicon Zoo using a specific domain account? Am I on the right track in looking for a Helicon Zoo config options, or is it done in a different way entirely?
Thanks in advance!
- vdanilchenko
- Posts: 3
- Joined: 20 Oct 2014, 09:56
Re: Help -- how to set effective user under IIS? (Sinatra ap
Anyone?
Some help would be very much appreciated...
Some help would be very much appreciated...
Re: Help -- how to set effective user under IIS? (Sinatra ap
Hello.
Helicon Zoo spawns child Ruby process with the same credentials as the parent w3wp.exe (IIS worker) process. There is no even impersonation code there. Please download and try Process Explorer tool ( http://technet.microsoft.com/en-us/sysi ... 96653.aspx ) to see the process tree. You should see w3wp.exe IIS process with the Ruby.exe child, both running with the same credentials. Please try to set IIS App Pool for the IIS web site running this application correctly in IIS Manager.
Helicon Zoo spawns child Ruby process with the same credentials as the parent w3wp.exe (IIS worker) process. There is no even impersonation code there. Please download and try Process Explorer tool ( http://technet.microsoft.com/en-us/sysi ... 96653.aspx ) to see the process tree. You should see w3wp.exe IIS process with the Ruby.exe child, both running with the same credentials. Please try to set IIS App Pool for the IIS web site running this application correctly in IIS Manager.
- vdanilchenko
- Posts: 3
- Joined: 20 Oct 2014, 09:56
Re: Help -- how to set effective user under IIS? (Sinatra ap
Good to know, will do. We did set all the IIS app pools to use this account, but I suppose there must be a config error somewhere. We will try to figure it out, n ow that we know where to look.
Thanks for your help!
Thanks for your help!
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests