403 Permission Error For Adding / Updating MySQL
I was experimenting with a simple sample Backbone app and received this
403 error message upon deleting an entry in my local MySQL database. I
hope this was common enough to have a simple fix.
DELETE http://cellar/api/wines/13 403 (Forbidden) jquery-1.7.1.min.js:4
f.support.ajax.f.ajaxTransport.send jquery-1.7.1.min.js:4
f.extend.ajax jquery-1.7.1.min.js:4
g.sync backbone-min.js:36
f.extend.destroy backbone-min.js:14
window.WineView.Backbone.View.extend.deleteWine main.js:125
f.event.dispatch jquery-1.7.1.min.js:3
f.event.add.h.handle.i jquery-1.7.1.min.js:3
The same error was thrown when doing PUT i.e. database update. However,
GET and POST worked just fine i.e. retrieving info from and adding a new
item to the database, respectively. I think this is related to the Apache
or DB config. Help, please?
No comments:
Post a Comment