Using sbmongoose without ide spiderbasic.

Just starting out? Need help? Post your questions and find answers here.
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Using sbmongoose without ide spiderbasic.

Post by useful »

How do I set up sbmongoose to use on my own vps?
2B or not 2B = FF
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Using sbmongoose without ide spiderbasic.

Post by useful »

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
Last edited by useful on Sun Jan 08, 2023 12:05 pm, edited 1 time in total.
2B or not 2B = FF
plouf
Posts: 194
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Using sbmongoose without ide spiderbasic.

Post by plouf »

But why you need sbmongoose and not mongoose or any other of hundrend of free webservers out there
Christos
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Using sbmongoose without ide spiderbasic.

Post by useful »

Because it was Fred's choice, and I've trusted his choice for over ten years. !!! :D :D :D
2B or not 2B = FF
plouf
Posts: 194
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Using sbmongoose without ide spiderbasic.

Post by plouf »

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 ......
Christos
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Using sbmongoose without ide spiderbasic.

Post by useful »

plouf wrote: Sun Jan 08, 2023 11:01 am Consider that "sb"mobgoose is probably a cut down version of mongoose
...
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
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Using sbmongoose without ide spiderbasic.

Post by useful »

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
2B or not 2B = FF
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: Using sbmongoose without ide spiderbasic.

Post by Fred »

sbmongoose is only intended to be used by the IDE and not shipped with your apps. You should use another webserver for this.
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Using sbmongoose without ide spiderbasic.

Post by useful »

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?
2B or not 2B = FF
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: Using sbmongoose without ide spiderbasic.

Post by Fred »

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.
Post Reply