After Migration dispatch.fcgi not doing its job? Keep gettti

I recently migrated a Rails application. After migration no matter what
URL I access within the application, I keep getting the home page.

so http://domain.com shows the home page.
and so does Domain Blog | Domain, Website, and Ecommerce Tips for Small Businesses
and also http://domain.com/some/other/url

I have routes.rb properly set up (it was working on the old server).

I am using RHEL 4 ES with Apache 2 and Fast CGI.

Any ideas why dispatch.fcgi is accepting all calls but nor properly
routing?

Thanks in advance
Frank

Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog: http://frankmash.blogspot.com

I have found some more details in the hope that someone can help:

I have created a dummy application.

When I go to http://domain.com/ I get the home page

When I go to http://domain.com/something/url I get "recognition failed
error for partial URL, i.e: “thing/url” (note: missing “some” in
“thing”)

Then the most bizarre thing happens. I restart Apache and
http://domain.com/something/url starts going to Home page.

I am using all the same Apache settings from my RHEL 3 on RHEL 4.

Any ideas are apperciated.

Frank

Frank [email protected] wrote:I recently migrated a Rails
application. After migration no matter what URL I access within the
application, I keep getting the home page.

so http://domain.com shows the home page.
and so does Domain Blog | Domain, Website, and Ecommerce Tips for Small Businesses
and also http://domain.com/some/other/url

I have routes.rb properly set up (it was working on the old server).

I am using RHEL 4 ES with Apache 2 and Fast CGI.

Any ideas why dispatch.fcgi is accepting all calls but nor properly
routing?

Thanks in advance
Frank

Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog:
http://frankmash.blogspot.com_______________________________________________
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog: http://frankmash.blogspot.com

I was using RHEL 4 + Apache 2 with dynamically configured virtual
hosting using mod rewrite. As it turns out there seems to be a bug with
this combination. It works fine on RHEL 3 with the same configuration
but on RHEL4, it stops working.

It almost seems like dispatch.cgi / dispatch.fcgi is expecting some
variable to be set which is then interpreted for routing. In my case
the value of this variable was not being set for some reason and
therefore I was experiencing weird results.

After spending about 4 hours on trying to fix this, I converted my
system to use an alternate method of virtual hosting. (the dynamically
configured hosting was’nt needed anymore anyways).

Hope this experience of mine helps someone in the future.

Frank

Frank [email protected] wrote: I have found some more
details in the hope that someone can help:

I have created a dummy application.

When I go to http://domain.com/ I get the home page

When I go to http://domain.com/something/url I get "recognition failed
error for partial URL, i.e: “thing/url” (note: missing “some” in
“thing”)

Then the most bizarre thing happens. I restart Apache and
http://domain.com/something/url starts going to Home page.

I am using all the same Apache settings from my RHEL 3 on RHEL 4.

Any ideas are apperciated.

Frank

Frank [email protected] wrote:I recently migrated a Rails
application. After migration no matter what URL I access within the
application, I keep getting the home page.

so http://domain.com shows the home page. and so does
Domain Blog | Domain, Website, and Ecommerce Tips for Small Businesses
and also http://domain.com/some/other/url

I have routes.rb properly set up (it was working on the old server).

I am using RHEL 4 ES with Apache 2 and Fast CGI.

Any ideas why dispatch.fcgi is accepting all calls but nor properly
routing?

Thanks in advance
Frank

Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog:
http://frankmash.blogspot.com_______________________________________________
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog:
http://frankmash.blogspot.com_______________________________________________
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog: http://frankmash.blogspot.com