New URLs not working on live apache but on webrick its working fine

Here, I got a project for maintenance. I am told to create new feature
to delete entry comments. I completed this feature easily. using ajax
with DELETE method. But I found it is not working on the live server
in case of using apache. In live server if I use webrick it is
working perfectly in server as well as in my local server. all other
URL,functionality

  1. One more thing I want to let you know , URL is like
    http://server-url.com.br/sistema/databases/96/entries (sistema is
    symbolic-link)
  2. declarative_authorization is used in the project . Can it be the
    reason? But I am logged in as admin.

What could be the reason!! please help me??

============================================

Description:
when I click on delete comment->request to server (method: delete
using ajax)->
No response from the apache server.(loading—)
Proper response from webrick server.(OK.200)

Note: I have checked both apache error_log and production.log , not
found exact error…

On Fri, Apr 8, 2011 at 4:09 AM, Neelesh V. [email protected] wrote:

  1. declarative_authorization is used in the project . Can it be the
    No response from the apache server.(loading—)
    Proper response from webrick server.(OK.200)

Note: I have checked both apache error_log and production.log , not
found exact error…

After deploying your code to production did you restart Apache?

B.

Hi Bryan,

I got the solution,

  1. I had problem with my routing .
  2. Also declarative_authorization was telling me to fallow their rules
    (restricting variable names…)
    and I used “Delete” method in jQuery Ajax.Due these all above problem I
    was
    not able to run my code into live server.
    Now its ok.
    RESOLVED>THANKS…
    Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs