Posts Tagged ‘microsoft’

Mootools Request, IIS, PHP: HTTP Error 403.1 – Forbidden: Execute access is denied

November 15th, 2008 under code | 1 Comment »

Recently I came across a “HTTP Error 403.1 – Forbidden: Execute access is denied” error on a site running on IIS. I was using Mootools to make Request calls from a flash site to a php script to print out the data in a simple lightbox type display. Just calling the request like so:

9
10
var req = new Request({ url:'showPiece.php?'+ur, 
			onSuccess: function(html) {...

will cause the server to through an error, but by adding the method param to the request call like so:

9
10
var req = new Request({method: 'GET', url:'showPiece.php?'+ur, 
			onSuccess: function(html) {...

everything works fine.

NOTE: make sure that you use “GET” not “get”, because:
(more…)

  • Share/Bookmark
 Page 1 of 1  1