Sulabh Jain
2009-Oct-17 01:00 UTC
Problem with deployment of rails application using passenger and apache (Very Important)
Hello All, I have been facing a weird problem since long and sometimes the things worked for me on one or the other server. Again, I have build a new server and facing same problem. Could anyone help me in finding the cause?? I have passenger modules loaded inside apache conf file and DocumentRoot set to point to public directory. This Document Root works for static pages. When I am going to browser and hitting the mydomain.com , I get the directory listing of public directory (similar to what we get using FTP links). I have been able to setup rails previously multiple times using mongrel but don''t know why this problem is coming. This problem came before also when I tried setting up the apache conf pointing to /var/www/html and had stored a symbolic link of public directory inside /var/www/html. At that point also it used to display the directory structure instead of the web page. The problem to me seems to be something that the rails application is not able to execute and display the web page. But exactly I don''t know the reason. I am not so much familiar with the apache configuration. Thanks, -S
Leonardo Mateo
2009-Oct-18 20:33 UTC
Re: Problem with deployment of rails application using passenger and apache (Very Important)
On Fri, Oct 16, 2009 at 10:00 PM, Sulabh Jain <sulabh.sgsits-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello All, > > I have been facing a weird problem since long and sometimes the things > worked for me on one or the other server. > > Again, I have build a new server and facing same problem. Could anyone > help me in finding the cause?? > > I have passenger modules loaded inside apache conf file and > DocumentRoot set to point to public directory.Have you also set the PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.x.x PassengerRuby /usr/bin/ruby sentences on Apachce conf? -- Leonardo Mateo. There''s no place like ~
Sulabh Jain
2009-Oct-19 15:30 UTC
Re: Problem with deployment of rails application using passenger and apache (Very Important)
Yes I have set the two appropriate configuration lines in apache. I was wondering if I need to enable any specific apache module for this. On Oct 18, 4:33 pm, Leonardo Mateo <leonardoma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Oct 16, 2009 at 10:00 PM, Sulabh Jain <sulabh.sgs...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hello All, > > > I have been facing a weird problem since long and sometimes the things > > worked for me on one or the other server. > > > Again, I have build a new server and facing same problem. Could anyone > > help me in finding the cause?? > > > I have passenger modules loaded inside apache conf file and > > DocumentRoot set to point to public directory. > > Have you also set the > > PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.x.x > PassengerRuby /usr/bin/ruby > > sentences on Apachce conf? > -- > Leonardo Mateo. > There''s no place like ~
Sulabh Jain
2009-Nov-04 16:17 UTC
Re: Problem with deployment of rails application using passenger and apache (Very Important)
Solved : Linux Fedora''s security policy was blocking the Phusion from initiation. Thanks to others for reply On Oct 19, 10:30 am, Sulabh Jain <sulabh.sgs...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Yes I have set the two appropriate configuration lines in apache. I > was wondering if I need to enable any specific apache module for this. > > On Oct 18, 4:33 pm, Leonardo Mateo <leonardoma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Fri, Oct 16, 2009 at 10:00 PM, Sulabh Jain <sulabh.sgs...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hello All, > > > > I have been facing a weird problem since long and sometimes the things > > > worked for me on one or the other server. > > > > Again, I have build a new server and facing same problem. Could anyone > > > help me in finding the cause?? > > > > I havepassengermodules loaded inside apache conf file and > > > DocumentRoot set to point to public directory. > > > Have you also set the > > > PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.x.x > > PassengerRuby /usr/bin/ruby > > > sentences on Apachce conf? > > -- > > Leonardo Mateo. > > There''s no place like ~