i configured the ruby on rails app with passenger long time ago so when now i browse to "locahost" it shows the app''s content.But i want to access the /var/www/drupal with "localhost/drupal".I am unable to access it.It gives the error and error seems to be genuine due to passenger. No route matches "/drupal" with {:method=>:get} should i remove the passenger ?If yes then please let me know how to remove it? or is there any solution to it ? Thanks in advance amritpalpathakgne.worpress.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jun 25, 2011, at 23:35 , amritpal pathak wrote:> i configured the ruby on rails app with passenger long time ago so when now i browse to "locahost" it shows the app''s content.But i want to access the /var/www/drupal with "localhost/drupal".I am unable to access it.It gives the error and error seems to be genuine due to passenger. > > No route matches "/drupal" with {:method=>:get} > > should i remove the passenger ?If yes then please let me know how to remove it? > or is there any solution to it ?Do you have Apache set up to serve /drupal in that virtualhost? If so, Passenger might not be letting Apache do its job. If that''s the case, try adding this config to apache: <Location /drupal> DirectoryIndex index.php PassengerEnabled off </Location> -- Teri Solow http://tekniklr.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Jun 26, 2011 at 3:30 AM, Teri Solow <tsolow-omv213mdi8BWk0Htik3J/w@public.gmane.org> wrote:> On Jun 25, 2011, at 23:35 , amritpal pathak wrote: > > i configured the ruby on rails app with passenger long time ago so when now > i browse to "locahost" it shows the app''s content.But i want to access the > /var/www/drupal with "localhost/drupal".I am unable to access it.It gives > the error and error seems to be genuine due to passenger. > > No route matches "/drupal" with {:method=>:get} > > should i remove the passenger ?If yes then please let me know how to remove > it? > or is there any solution to it ? > > > Do you have Apache set up to serve /drupal in that virtualhost? >NO.manually i didn''t do anything like this.> If so, Passenger might not be letting Apache do its job. > > If that''s the case, try adding this config to apache: > <Location /drupal> > DirectoryIndex index.php > PassengerEnabled off > </Location> > > in which file ? >apache2.conf or http.conf? Thanks amritpalpathakgne.wordpress.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Jun 26, 2011 at 3:45 AM, amritpal pathak <amritpalpathak1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > > On Sun, Jun 26, 2011 at 3:30 AM, Teri Solow <tsolow-omv213mdi8BWk0Htik3J/w@public.gmane.org> wrote: > >> On Jun 25, 2011, at 23:35 , amritpal pathak wrote: >> >> i configured the ruby on rails app with passenger long time ago so when >> now i browse to "locahost" it shows the app''s content.But i want to access >> the /var/www/drupal with "localhost/drupal".I am unable to access it.Itgives the error and error seems to be genuine due to passenger. >> >> No route matches "/drupal" with {:method=>:get} >> >> should i remove the passenger ?If yes then please let me know how to >> remove it? >> or is there any solution to it ? >> >> >> Do you have Apache set up to serve /drupal in that virtualhost? >> > how can i disable passenger permantly? >i want to access "localhost" as it was normally before Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jun 26, 2011, at 00:51 , amritpal pathak wrote:> how can i disable passenger permantly? > i want to access "localhost" as it was normally beforeIn your apache config, look for a line like, LoadModule passenger_module, and comment it out I don''t know which config file your setup uses; it could be either apache2.conf or http.conf. Search in both of them for ''passenger''. -- Teri Solow http://tekniklr.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Jun 26, 2011 at 4:19 AM, Teri Solow <tsolow-omv213mdi8BWk0Htik3J/w@public.gmane.org> wrote:> On Jun 26, 2011, at 00:51 , amritpal pathak wrote: > > how can i disable passenger permantly? >> > i want to access "localhost" as it was normally before > > > In your apache config, look for a line like, LoadModule passenger_module, > and comment it out I don''t know which config file your setup uses; it could > be either apache2.conf or http.conf. Search in both of them for ''passenger''. > it was in httpd.conf file and looks like as: >LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7 PassengerRuby /usr/bin/ruby1.8 <VirtualHost *:80> ServerName www.yourhost.com DocumentRoot /home/amrit/amritpal/public <Directory /amritpal/public> AllowOverride all Options -MultiViews </Directory> </VirtualHost> <Location /drupal> DirectoryIndex index.php PassengerEnabled off </Location> I removed first 3 line still it didn''t work and "localhost" shows the contents of app. Thanks amritpalpathakgne.wordpress.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jun 26, 2011, at 01:27 , amritpal pathak wrote: # LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger # 3.0.7/ext/apache2/mod_passenger.so # PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7 # PassengerRuby /usr/bin/ruby1.8 # <VirtualHost *:80> # ServerName www.yourhost.com # DocumentRoot /home/amrit/amritpal/public # <Directory /amritpal/public> # AllowOverride all # Options -MultiViews # </Directory> # </VirtualHost> # <Location /drupal> # DirectoryIndex index.php # PassengerEnabled off # </Location> That will get rid of passenger. Setting up drupal is a completely separate matter. -- Teri Solow http://tekniklr.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Jun 26, 2011 at 5:07 AM, Teri Solow <tsolow-omv213mdi8BWk0Htik3J/w@public.gmane.org> wrote:> On Jun 26, 2011, at 01:27 , amritpal pathak wrote: > > # LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger > # 3.0.7/ext/apache2/mod_passenger.so > # PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7 > # PassengerRuby /usr/bin/ruby1.8 > # <VirtualHost *:80> > # ServerName www.yourhost.com > # DocumentRoot /home/amrit/amritpal/public > # <Directory /amritpal/public> > # AllowOverride all > # Options -MultiViews > # </Directory> > # </VirtualHost> > # <Location /drupal> > # DirectoryIndex index.php > # PassengerEnabled off > # </Location> > > That will get rid of passenger. Setting up drupal is a completely separate > matter. > > can you just tell me how to completly remove the passenger from my system.? >Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jun 26, 2011, at 02:40 , amritpal pathak wrote:> can you just tell me how to completly remove the passenger from my system.?No, because that depends largely on how it got there. Presumably you''re the one who installed it? -- Teri Solow http://tekniklr.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.