Cannot load page information via AJax in on some servers
Status: Alpha
Brought to you by:
mdl_kid
Due to server restrictions on the older apache 1.3 server webpages that are defined as static (ie '.html') cannot be accessed via the Ajax.Request object, becuase it thinks you are posting to a static page so it returns an error instead of the static page.
A solution is to rename files that will be loaded via Ajax with an executable ending (ie '.php') but this then requires that the php processor be installed on the server.
A more general solution is requested.
Logged In: YES
user_id=1469433
Originator: YES
I am still investigating the best solution to this issue. For now to save development time I will continue to develop with a server that will allow POST requests to static pages (ie Apache 2) in mind. If your web server returns the "requested method 'POST' is not allowed for the URL (....)" you need to reconfigure your server or upgrade.
The goal is to find a general solution that will work out of the box for all webservers, after all the portal is only JavaScript so the server shouldn't be fucking with it!!!