jquery - 500 Internal Server Error on ajax call with cakephp -


i developed small website cakephp working locally, , moved in production environment on tophost. after have fighting .htaccess config file, got homepage work. when click on buttons should open detail page, 500 error on $.ajax call. ideas?

this .htaccess in htdocs folder:

<ifmodule mod_rewrite.c>    rewriteengine on    rewriterule    ^$ /cakephp/app/webroot/    [l]    rewriterule    (.*) /cakephp/app/webroot/$1 [l] </ifmodule> 

and following ajax call:

$.ajax({    type: "post",    url: "/track",    data: id,    datatype: "text" }).done(function(data) {    ... } 


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -