How does the web scripting work?

Home Page Forums Network Management ZeroShell How does the web scripting work?

This topic contains 1 reply, has 0 voices, and was last updated by  jimmyswimmy 8 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42590

    jimmyswimmy
    Member

    So I’m looking for some information on how the system works. It doesn’t seem to be documented anywhere in the image or on the forums. I have a few questions; if they are answered, I will use this information to try and figure out a few of the problems I’ve noticed.

    1. Where is the command that starts the web server? What conf file does it use? There are several config files but I don’t see which one is being used, and none of them refer to /root/kirbyscript/…
    2. Where are the users and related information stored?

    I have lots more but they all depend on these. If anyone can help I expect it will be an investment that pays off. If I don’t get any answers I’m just going to go pack to OpenBSD and FreeRADIUS; it’s configurable and it works but it’s hard to give to a nontechnical person to support, while Zeroshell looks pretty sweet for that. Thanks!

    #50934

    jimmyswimmy
    Member

    Okay, well I hadn’t seen that before. The default config file is used at /etc/httpd/httpd.conf and it points to the document root being at /usr/local/apache2/htdocs. And in there is an index.html pointing to a kerbynet.cgi file which is in /usr/local/apache2/cgi-bin. And kerbynet.cgi is a binary.

    Anybody know how to make the cgi file? It seems like I would know how to do that, but I sure don’t.

    #50935

    jimmyswimmy
    Member

    If anyone other than me is interested in this, it seems that the kerbynet binary is not available in source form.

    http://www.zeroshell.net/eng/forum/viewtopic.php?p=2917&sid=a5ad0ef4a1fc6f7dcd0ecf5d4a3a2ff8

    That apparently hasn’t changed in two years. So it is not possible to debug the backend for the UI (for such things, for example, as fixing the RADIUS permission for new users).

    I would personally have found that useful, so I might ditch this very nice-looking system and instead build something else from scratch. Too bad. If anyone is considering answering my questions from the first post, don’t waste your time. Thanks all.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.