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

Giuseppe glpunzi at gmail.com
Wed Feb 26 22:36:07 CET 2014


> El 26/02/2014, a las 22:26, silvioprog <silvioprog at gmail.com> escribió:
> 
> 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.

No, dll error was solved. I get this error "method not allowed" with embedded and as cgi too. Don't know howto build and deploy a fcgi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140226/96ccdcf5/attachment-0003.html>


More information about the Lazarus mailing list