[Lazarus] [Brook] HTTP method not allowed for the requested resource

silvioprog silvioprog at gmail.com
Wed Feb 26 22:26:57 CET 2014


2014-02-26 17:52 GMT-03:00 Giuseppe <glpunzi at gmail.com>:
>
> El 26/02/2014, a las 20:47, silvioprog <silvioprog at gmail.com> escribió:
>
> 2014-02-26 13:27 GMT-03:00 Giuseppe <glpunzi at gmail.com>:
> [...]
>
>> Yes this works.
>>
>> Then, to build dinamic sites like Anderson do in his videos, I have to
>> wait to 2.6.4 to get Brook working again as before. True? Meanwhile, I can
>> use it "just" as REST server.
>>
>
> With Anderson's videos you will have a basic knowledge of Brook 2.6. I
> believe that he will have to make updated videos, if he want to use new
> Brook features.
>
> No. Currently Brook compile and works fine with FPC 2.6.2+. A bit
> limitation is only in embedded server, because it does not support all HTTP
> methods in this version, but it is already fixed in new FPC.
>
> I use new Brook with FPC 2.6.2 and FastCGI in my projects, and it works
> fine.
>
> But I get the error of the topic deploying the CGI, with dopf and sqldb
> demos.
>
> Regards.
>

Using FPC 2.6.2 you get the "invalid request method" error only in embedded
mode, in (Fast)CGI it is OK. Again: your db erros is not related with
FCL-Web and/or Brook, it is related with your 32/64 "mixed confusion"
architecture, ie, your architecture is 64 but your DLL is 32 etc.

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140226/0a001099/attachment-0003.html>


More information about the Lazarus mailing list