News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
murgaLua CGI %ENV
Author Message
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #1
RE: murgaLua CGI %ENV

dvw86 Wrote:
It looks like you are using Lua (not murgaLua?) and then you are starting the Mongoose web server and then you configure the web server settings. But again you are using lua instead of murgaLua. Are you re-naming murgaLua as "/usr/bin/lua"?

The sad an honest response is that I did not test CGI ...

As I was interested in dealing with requests in-process.

As murgaLua is running Mongoose itself it can service the requests itself through callbacks. This means that it doesn't have to spawn a process each time and is much faster.

If you do want to use the CGI interpreter I suspect that line should read :

Code:
cgi_interpreter = murgaLua_ExePath,

I would appreciate some examples if you play with this :-)

dvw86 Wrote:
Here is what my Mongoose configuration file looks like when I use it on Windows with murgaLua as the cgi interpreter. I imagine that I could make the access_control_list a variable as well.

Yes you can ...

In fact, here are the one you can set all of the following (I don't think num_threads will work though) :

Code:
cgi_extensions
cgi_environment
put_delete_passwords_file
cgi_interpreter
protect_uri
authentication_domain
ssi_extensions
access_log_file
ssl_chain_file
enable_directory_listing
error_log_file
global_passwords_file
index_files
enable_keep_alive
access_control_list
max_request_size
extra_mime_types
listening_ports
document_root
ssl_certificate
num_threads
run_as_user

This post was last modified: 06-02-2012 04:48 PM by JohnMurga.

06-02-2012 04:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
murgaLua CGI %ENV - dvw86 - 03-23-2008, 06:42 AM
RE: murgaLua CGI %ENV - Juergen - 03-23-2008, 08:30 AM
RE: murgaLua CGI %ENV - dvw86 - 03-23-2008, 09:25 AM
RE: murgaLua CGI %ENV - Juergen - 03-23-2008, 09:48 AM
RE: murgaLua CGI %ENV - dvw86 - 03-23-2008, 10:40 AM
RE: murgaLua CGI %ENV - JohnMurga - 03-23-2008, 08:17 PM
RE: murgaLua CGI %ENV - dvw86 - 03-24-2008, 03:39 AM
RE: murgaLua CGI %ENV - JohnMurga - 03-24-2008, 04:04 AM
RE: murgaLua CGI %ENV - dvw86 - 03-24-2008, 06:29 AM
RE: murgaLua CGI %ENV - asafp - 03-24-2008, 06:55 AM
RE: murgaLua CGI %ENV - Juergen - 03-24-2008, 06:57 AM
RE: murgaLua CGI %ENV - JohnMurga - 03-24-2008, 07:11 AM
RE: murgaLua CGI %ENV - Juergen - 03-25-2008, 05:55 AM
RE: murgaLua CGI %ENV - mikshaw - 04-12-2008, 12:51 PM
RE: murgaLua CGI %ENV - JohnMurga - 04-14-2008, 03:36 AM
RE: murgaLua CGI %ENV - Juergen - 04-15-2008, 01:30 AM
RE: murgaLua CGI %ENV - JohnMurga - 04-15-2008, 07:28 AM
RE: murgaLua CGI %ENV - dvw86 - 05-20-2012, 02:45 AM
RE: murgaLua CGI %ENV - JohnMurga - 05-28-2012, 04:51 AM
RE: murgaLua CGI %ENV - jpjacobs - 05-28-2012, 07:35 AM
RE: murgaLua CGI %ENV - dvw86 - 05-29-2012, 01:55 AM
RE: murgaLua CGI %ENV - JohnMurga - 05-30-2012, 08:52 PM
RE: murgaLua CGI %ENV - dvw86 - 06-02-2012, 12:27 PM
RE: murgaLua CGI %ENV - dvw86 - 06-02-2012, 12:50 PM
RE: murgaLua CGI %ENV - JohnMurga - 06-02-2012 04:46 PM
RE: murgaLua CGI %ENV - dvw86 - 06-03-2012, 04:48 AM
RE: murgaLua CGI %ENV - dvw86 - 06-03-2012, 05:13 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: