Using sbmongoose without ide spiderbasic.
Using sbmongoose without ide spiderbasic.
How do I set up sbmongoose to use on my own vps?
2B or not 2B = FF
Re: Using sbmongoose without ide spiderbasic.
Can we hope that at some point there will be more documentation on sbmongoose?
And under what license is it released?
In the meantime, the first successful experiment:
d:\websrv>sbmongoose -document_root d:\websrv
Mongoose web server v.4.2 started on port(s) 8080 with web root [d:\websrv]
==========
http://127.0.0.1:8080/[app name sb].html OK!!!
p.s. in d:\websrv\lib240\ <- ~Libraries\javascript\
==========
d:\websrv>sbmongoose -h
Mongoose version 4.2 (c) Sergey Lyubka, built on Nov 30 2022
Usage:
mongoose -A <htpasswd_file> <realm> <user> <passwd>
mongoose [config_file]
mongoose [-option value ...]
OPTIONS:
-cgi_pattern **.cgi$|**.pl$|**.php$
-cgi_environment <empty>
-put_delete_auth_file <empty>
-cgi_interpreter <empty>
-protect_uri <empty>
-authentication_domain mydomain.com
-ssi_pattern **.shtml$|**.shtm$
-throttle <empty>
-access_log_file <empty>
-enable_directory_listing yes
-error_log_file <empty>
-global_auth_file <empty>
-index_files index.html,index.htm,index.cgi,index.shtml,index.php,index.lp
-enable_keep_alive no
-access_control_list <empty>
-extra_mime_types <empty>
-listening_ports 8080
-document_root <empty>
-ssl_certificate <empty>
-num_threads 50
-run_as_user <empty>
-url_rewrite_patterns <empty>
-hide_files_patterns <empty>
-request_timeout_ms 30000
-spiderbasic_root <empty>
===========================
p.s. https://github.com/jaz303/mongoose-mit/ ... rManual.md
And under what license is it released?
In the meantime, the first successful experiment:
d:\websrv>sbmongoose -document_root d:\websrv
Mongoose web server v.4.2 started on port(s) 8080 with web root [d:\websrv]
==========
http://127.0.0.1:8080/[app name sb].html OK!!!
p.s. in d:\websrv\lib240\ <- ~Libraries\javascript\
==========
d:\websrv>sbmongoose -h
Mongoose version 4.2 (c) Sergey Lyubka, built on Nov 30 2022
Usage:
mongoose -A <htpasswd_file> <realm> <user> <passwd>
mongoose [config_file]
mongoose [-option value ...]
OPTIONS:
-cgi_pattern **.cgi$|**.pl$|**.php$
-cgi_environment <empty>
-put_delete_auth_file <empty>
-cgi_interpreter <empty>
-protect_uri <empty>
-authentication_domain mydomain.com
-ssi_pattern **.shtml$|**.shtm$
-throttle <empty>
-access_log_file <empty>
-enable_directory_listing yes
-error_log_file <empty>
-global_auth_file <empty>
-index_files index.html,index.htm,index.cgi,index.shtml,index.php,index.lp
-enable_keep_alive no
-access_control_list <empty>
-extra_mime_types <empty>
-listening_ports 8080
-document_root <empty>
-ssl_certificate <empty>
-num_threads 50
-run_as_user <empty>
-url_rewrite_patterns <empty>
-hide_files_patterns <empty>
-request_timeout_ms 30000
-spiderbasic_root <empty>
===========================
p.s. https://github.com/jaz303/mongoose-mit/ ... rManual.md
Last edited by useful on Sun Jan 08, 2023 12:05 pm, edited 1 time in total.
2B or not 2B = FF
Re: Using sbmongoose without ide spiderbasic.
But why you need sbmongoose and not mongoose or any other of hundrend of free webservers out there
Christos
Re: Using sbmongoose without ide spiderbasic.
Because it was Fred's choice, and I've trusted his choice for over ten years. !!!
2B or not 2B = FF
Re: Using sbmongoose without ide spiderbasic.
Consider that "sb"mobgoose is probably a cut down version of mongoose
At any case it a limited capabilies server since its a embedded better use a another one more "full" like apache,ngix or (for me easiest) abyss
Aming other stuff you will have sql/php/authorization ......
At any case it a limited capabilies server since its a embedded better use a another one more "full" like apache,ngix or (for me easiest) abyss
Aming other stuff you will have sql/php/authorization ......
Christos
Re: Using sbmongoose without ide spiderbasic.
I understand this very well.
But it seems to me that for SB the use of mongoose, taking into account the features taken into account by the author in sbmongoose would be appropriate not only in development but also in subsequent operation.
2B or not 2B = FF
Re: Using sbmongoose without ide spiderbasic.
I'm just going to leave it here.
https://github.com/civetweb/civetweb/releases/tag/v1.15
p.s. Unlike mongoose, civetweb is licensed by MIT
https://github.com/civetweb/civetweb/releases/tag/v1.15
p.s. Unlike mongoose, civetweb is licensed by MIT
2B or not 2B = FF
Re: Using sbmongoose without ide spiderbasic.
sbmongoose is only intended to be used by the IDE and not shipped with your apps. You should use another webserver for this.
Re: Using sbmongoose without ide spiderbasic.
But it works fine for me spiderbasic-app+sbmongoose+purebasic-cgi.
At least at the debugging stage.
Am I violating some point in the license?
At least at the debugging stage.
Am I violating some point in the license?
2B or not 2B = FF
Re: Using sbmongoose without ide spiderbasic.
The version we use is GPL license, so it needs to stay in a separate executable. It's a custom built, and very old (2013) so it's not tested against security issues and shouldn't be used in production.