tag:blogger.com,1999:blog-974956341373337161.post5934432111676074296..comments2023-10-18T04:54:48.765-07:00Comments on Pascal Warrior's Journey: Brook Framework, a new web application framework for Free Pascalleledumbohttp://www.blogger.com/profile/00255521890702721055noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-974956341373337161.post-50424470638450726362015-05-23T20:42:16.333-07:002015-05-23T20:42:16.333-07:00Only fphttpclient currently has SSL support, fphtt...Only fphttpclient currently has SSL support, fphttpserver does not (yet). Need to wait for Michael (or someone else including you) to commit such a feature. leledumbohttps://www.blogger.com/profile/00255521890702721055noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-27493773507525830682014-11-30T03:14:06.723-08:002014-11-30T03:14:06.723-08:00Hi Lele (and Silvio) I would like to use ssl on a...Hi Lele (and Silvio) I would like to use ssl on an embedded webserver.<br />How should I do that?<br /><br />Cheers,<br />MirkoAnonymoushttps://www.blogger.com/profile/04553849534839702408noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-62964631216810627142013-03-24T07:37:05.420-07:002013-03-24T07:37:05.420-07:00Whoops, maybe I should put "anymore" aft...Whoops, maybe I should put "anymore" after "nginx" in my reply above :"><br /><br />There's nothing fancy actually, just use below template, replacing the variables with your setup:<br /><br />server {<br /> listen ;<br /> error_log debug;<br /><br /> location / {<br /> fastcgi_split_path_info ^()(/?.+)$;<br /> # A handy function that became available in 0.7.31 that breaks down<br /> # The path information based on the provided regex expression<br /> # This is handy for requests such as file.php/some/paths/here/<br /><br /> fastcgi_param PATH_INFO $fastcgi_path_info;<br /> fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;<br /><br /> fastcgi_param QUERY_STRING $query_string;<br /> fastcgi_param REQUEST_METHOD $request_method;<br /> fastcgi_param CONTENT_TYPE $content_type;<br /> fastcgi_param CONTENT_LENGTH $content_length;<br /><br /> fastcgi_param SCRIPT_NAME $fastcgi_script_name;<br /> fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;<br /> fastcgi_param REQUEST_URI $request_uri;<br /> fastcgi_param DOCUMENT_URI $document_uri;<br /> fastcgi_param DOCUMENT_ROOT $document_root;<br /> fastcgi_param SERVER_PROTOCOL $server_protocol;<br /><br /> fastcgi_param GATEWAY_INTERFACE CGI/1.1;<br /> fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;<br /><br /> fastcgi_param REMOTE_ADDR $remote_addr;<br /> fastcgi_param REMOTE_PORT $remote_port;<br /> fastcgi_param SERVER_ADDR $server_addr;<br /> fastcgi_param SERVER_PORT $server_port;<br /> fastcgi_param SERVER_NAME $server_name;<br /><br /> fastcgi_param HTTPS $https;<br /><br /> fastcgi_pass ;<br /> fastcgi_index index;<br /> }<br />}<br />leledumbohttps://www.blogger.com/profile/00255521890702721055noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-71559258128078625942013-03-23T01:01:06.247-07:002013-03-23T01:01:06.247-07:00I read this:
10. Build the project and run (in ca...I read this:<br /><br />10. Build the project and run (in case of FastCGI)<br /><br />11. Now go to your browser and type the url to your application, I personally use FastCGI with Nginx on port 8080<br /><br />and my understanding is that you've built a FastCGI with Brook and run it on nginx.<br /><br />I'm particularly interested in the (close) details of this setup.<br /><br />If you can find the time, like I said, I'd be much appreciated. Thanks.<br /><br />--<br />MiticăAnonymoushttps://www.blogger.com/profile/04367504761552812231noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-49362694875469002862013-03-22T15:59:42.075-07:002013-03-22T15:59:42.075-07:00Hmm..I don't use nginx to use brook (integrate...Hmm..I don't use nginx to use brook (integrated webserver is better :)), but I have some experience with it + fpweb. I'll have to dig in my harddisk first though.leledumbohttps://www.blogger.com/profile/00255521890702721055noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-21292806977362431692013-03-22T15:56:56.196-07:002013-03-22T15:56:56.196-07:00Brook requires fpc 2.6.1 (near 2.6.2) or newer. If...Brook requires fpc 2.6.1 (near 2.6.2) or newer. If you get it from sourceforge then it must be 2.6.0 (at the time this article is written). Since lazarus 1.0.8 (containing fpc 2.6.2) has just been released, you might want to try that.leledumbohttps://www.blogger.com/profile/00255521890702721055noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-51549503291860576112013-03-22T15:42:45.397-07:002013-03-22T15:42:45.397-07:00Any chance for a more detailed nginx setup?
I'...Any chance for a more detailed nginx setup?<br />I'd be much appreciated.<br /><br />--<br />MiticăAnonymoushttps://www.blogger.com/profile/04367504761552812231noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-23530753933259208202013-01-12T02:17:51.525-08:002013-01-12T02:17:51.525-08:00Silvio thanx for mail notify about this frameworkSilvio thanx for mail notify about this frameworknicke85https://www.blogger.com/profile/09566949100032745962noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-47508371447146888422013-01-11T01:39:11.048-08:002013-01-11T01:39:11.048-08:00salam kenal mas leledumbo, i have installed lazaru...salam kenal mas leledumbo, i have installed lazarus 1.0.4 and fpc 2.6.1 stable release from sourceforge. but always failed to install brook. may you show me step by step to install it. the article above looks succesfully installation. im newbie on lazarus. trims.heldisyahhttps://www.blogger.com/profile/04777511481593965865noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-25733771203717711402012-12-31T19:59:43.284-08:002012-12-31T19:59:43.284-08:00Thanks, I have no thought you'll find the post...Thanks, I have no thought you'll find the post this fast :pleledumbohttps://www.blogger.com/profile/00255521890702721055noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-62584171584607781482012-12-31T19:59:01.100-08:002012-12-31T19:59:01.100-08:00Feel free to do that :)Feel free to do that :)leledumbohttps://www.blogger.com/profile/00255521890702721055noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-19232027456510304082012-12-31T14:49:20.469-08:002012-12-31T14:49:20.469-08:00Wow, we can post it on the official lists and Laza...Wow, we can post it on the official lists and Lazarus forum. What do you think? :)Anonymoushttps://www.blogger.com/profile/13836269676493768220noreply@blogger.comtag:blogger.com,1999:blog-974956341373337161.post-60420298877468089512012-12-31T14:36:35.978-08:002012-12-31T14:36:35.978-08:00Hello,
Excellent post man! :)
I'm indicating...Hello,<br /><br />Excellent post man! :)<br /><br />I'm indicating this post here in Brazil, in Lazarus-BR group.<br /><br />Thank very much and happy new year friend!<br /><br />Silvio Clécio.Anonymoushttps://www.blogger.com/profile/13836269676493768220noreply@blogger.com