405 Method Not Allowed - /Clients/MooTools.js

36 views
Skip to first unread message

a...@webconexion.net

unread,
Jan 21, 2010, 10:41:01 PM1/21/10
to APE Project
I've just install APE and I'm running the tests via the following URL:

http://chat.cssmixes.co.uk/Tools/Check/

The result is:

Running test : Loading Client
Can't load client, check the file http://chat.cssmixes.co.uk/Clients/MooTools.js
is available

I've checked and the file http://chat.cssmixes.co.uk/Clients/MooTools.js
is available and it's readable etc. However i can see from Firebug
that the tests are trying to post to it which is giving the following
response:

405 Method Not Allowed

Any ideas where I'm going wrong? I believe 405 is a cross domain issue
but the post is going to the same domain still chat.cssmixes.co.uk not
sure what's going on.

a...@webconexion.net

unread,
Jan 22, 2010, 12:36:26 AM1/22/10
to APE Project
I've fixed it. Because it's posting to MooTools.js which is a
javascript file Apache 1.3 doesn't know how to deal with this as it
hasn't been told that a .js can be POSTed to. Solution was to add a
CGI AddType for it or in my case a PHP one:

AddType application/x-httpd-php .php .html .phtml .js

On Jan 22, 3:41 am, "a...@webconexion.net" <a...@webconexion.net>
wrote:


> I've just install APE and I'm running the tests via the following URL:
>
> http://chat.cssmixes.co.uk/Tools/Check/
>
> The result is:
>
> Running test : Loading Client

> Can't load client, check the filehttp://chat.cssmixes.co.uk/Clients/MooTools.js
> is available
>
> I've checked and the filehttp://chat.cssmixes.co.uk/Clients/MooTools.js

yalcin

unread,
Jan 26, 2010, 2:33:50 PM1/26/10
to APE Project
are you using nginx?

On Jan 22, 5:41 am, "a...@webconexion.net" <a...@webconexion.net>
wrote:


> I've just install APE and I'm running the tests via the following URL:
>
> http://chat.cssmixes.co.uk/Tools/Check/
>
> The result is:
>
> Running test : Loading Client

> Can't load client, check the filehttp://chat.cssmixes.co.uk/Clients/MooTools.js
> is available
>
> I've checked and the filehttp://chat.cssmixes.co.uk/Clients/MooTools.js

Reply all
Reply to author
Forward
0 new messages