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
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
–
Teri S.
http://tekniklr.com
On Sun, Jun 26, 2011 at 3:30 AM, Teri S. [email protected] wrote:
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
in which file ?
apache2.conf or http.conf?
Thanks
amritpalpathakgne.wordpress.com
On Sun, Jun 26, 2011 at 3:45 AM, amritpal pathak
[email protected]wrote:
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
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’.
–
Teri S.
http://tekniklr.com
On Sun, Jun 26, 2011 at 4:19 AM, Teri S. [email protected] wrote:
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
<Location /drupal>
DirectoryIndex index.php
PassengerEnabled off
I removed first 3 line still it
didn’t work and “localhost” shows the contents of app.
Thanks
amritpalpathakgne.wordpress.com
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>
DocumentRoot /home/amrit/amritpal/public
<Directory /amritpal/public>
AllowOverride all
Options -MultiViews
<Location /drupal>
DirectoryIndex index.php
PassengerEnabled off
That will get rid of passenger. Setting up drupal is a completely
separate matter.
–
Teri S.
http://tekniklr.com
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 S.
http://tekniklr.com
On Sun, Jun 26, 2011 at 5:07 AM, Teri S. [email protected] wrote:
AllowOverride all
can you just tell me how to completly remove the passenger from my system.?
Thanks