Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th March 2011, 08:34
theWeird theWeird is offline
Member
 
Join Date: Nov 2009
Posts: 56
Thanks: 9
Thanked 6 Times in 5 Posts
Default Executing user of ruby app

Hey there,
I've got the following scenario:

I succeeded in installing and running Redmine with mod_passenger on an ISP3-managed Debian Squeeze server (yes, I made notes and will publish them next days)

There is a plugin for roundcube that auto-creates git repositories on a gitolite or gitosis server for new projects and manages the public keys of the users as well as their access rights on the repositories.

To be able to do that there must be a file ~/.ssh/id_rsa containing the private rsa key that matches the public key on the repository server.

So I need to find out which user is running the ruby application with mod_passenger.

Same rules as on normal PHP sites?
Application is runned by www-data as long as SuEXEC is not set?
Reply With Quote
Sponsored Links
  #2  
Old 18th March 2011, 10:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
Default

I guess it will run always under the www-data user, as ruby uses mod_ruby which is similar to mod_php. Suexec can only change the user for cgi / fcgi processes but not for apache modules.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th June 2011, 20:54
al3xnull al3xnull is offline
Junior Member
 
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm interested in how you got everything up and going. Running into an issue now. Currently running nginx on the side to allow developers to work, but I would like to know if there is a way for ISPConfig3 to play nice.
Reply With Quote
  #4  
Old 15th June 2011, 07:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
Default

ISPConfig requires apache, so you will have to replace nginx with apache if you want to use ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 15th June 2011, 14:21
al3xnull al3xnull is offline
Junior Member
 
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know it require apache. We are currently running ISPConfig3. We have an nginx server sitting on the side performing Sinatra/RoR tasks that ISPConfig3 doesn't play nice with.

Just curious if it is possible to have them play nice or if ISPConfig3 will require us to using nginx for the foreseeable future.
Reply With Quote
  #6  
Old 15th June 2011, 15:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
Default

Which problems do you have with ror? ISPConfig writes just a standard vhost and that can be completely customized by editing the vhost master template. So evrything that is works with apache should work with ispconfig as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 15th June 2011, 17:54
al3xnull al3xnull is offline
Junior Member
 
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I think mod_rails is playing nice while using the .htaccess file.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 20:38


All times are GMT +2. The time now is 23:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.