Allowed http methods

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Allowed http methods

karir
Hello,

I am trying to get JQUERY File Uploads file deletion to work.

I get Active4d error:

”405 Method Not Allowed”
”Our apologies... The requested method (DELETE) is not allowed for the URL /theme/templates/frontend/Metodit/file_poista.a4d”

Then I add Active4D.ini -file

allowed methods = GET POST OPTIONS HEAD DELETE

And restarted server, but I still get same error. In Active4D log file DELETE is not allowed?

Sep 01 08:17:17 Active4D: [debug] config: allowed methods = GET, POST, OPTIONS, HEAD (default)

There is something wrong but what? Can anyone help?

best regards,

Karir.
_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/
Reply | Threaded
Open this post in threaded view
|

Re: Allowed http methods

Aparajita Fishman
In the future, PLEASE give complete configuration info (OS, 4D & Active4D version). It does make a difference.

Please make sure you’re using the latest version of Active4D, there was a problem with reading config files that was fixed in the latest version.

> On Aug 31, 2016, at 10:42 PM, Kehitys <[hidden email]> wrote:
>
> Hello,
>
> I am trying to get JQUERY File Uploads file deletion to work.
>
> I get Active4d error:
>
> ”405 Method Not Allowed”
> ”Our apologies... The requested method (DELETE) is not allowed for the URL /theme/templates/frontend/Metodit/file_poista.a4d”
>
> Then I add Active4D.ini -file
>
> allowed methods = GET POST OPTIONS HEAD DELETE
>
> And restarted server, but I still get same error. In Active4D log file DELETE is not allowed?
>
> Sep 01 08:17:17 Active4D: [debug] config: allowed methods = GET, POST, OPTIONS, HEAD (default)
>
> There is something wrong but what? Can anyone help?
>
> best regards,
>
> Karir.
> _______________________________________________
> Active4D-dev mailing list
> [hidden email]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

All the best,

  - Aparajita


_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/
Reply | Threaded
Open this post in threaded view
|

Re: Allowed http methods

karir
Update.Update.

Works fine in latest version of Active4D.
 
Thank You and sorry.

best regards,

Karir.

> Aparajita Fishman <[hidden email]> kirjoitti 4.9.2016 kello 23.30:
>
> In the future, PLEASE give complete configuration info (OS, 4D & Active4D version). It does make a difference.
>
> Please make sure you’re using the latest version of Active4D, there was a problem with reading config files that was fixed in the latest version.
>
>> On Aug 31, 2016, at 10:42 PM, Kehitys <[hidden email]> wrote:
>>
>> Hello,
>>
>> I am trying to get JQUERY File Uploads file deletion to work.
>>
>> I get Active4d error:
>>
>> ”405 Method Not Allowed”
>> ”Our apologies... The requested method (DELETE) is not allowed for the URL /theme/templates/frontend/Metodit/file_poista.a4d”
>>
>> Then I add Active4D.ini -file
>>
>> allowed methods = GET POST OPTIONS HEAD DELETE
>>
>> And restarted server, but I still get same error. In Active4D log file DELETE is not allowed?
>>
>> Sep 01 08:17:17 Active4D: [debug] config: allowed methods = GET, POST, OPTIONS, HEAD (default)
>>
>> There is something wrong but what? Can anyone help?
>>
>> best regards,
>>
>> Karir.
>> _______________________________________________
>> Active4D-dev mailing list
>> [hidden email]
>> http://list.aparajitaworld.com/listinfo/active4d-dev
>> Archives: http://active4d-nabble.aparajitaworld.com/
>
> All the best,
>
>  - Aparajita
>
>
> _______________________________________________
> Active4D-dev mailing list
> [hidden email]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/