Your own interpreter for apache

Discussion in 'Server Operation' started by ColdDoT, May 23, 2006.

  1. ColdDoT

    ColdDoT Member

    hey

    is there a way that i can make my own script interpreter for apache.
    like php or any module.

    for example
    that i cal the extension cold
    and my programm handels it and for example if it is see
    Code:
    <%cold
    make account('owner','password');
    %>
    then it execute a command in the language of the module it self
    if the module is written in C# then i can execute a command in C#
    like
    Code:
    TcpClient tcpclnt = new TcpClient();
    tcpclnt.Connect("80.69.94.143", 2822);
    String str = "makeacc:"+account[user]+"-"+account[pass];
    Stream stm = tcpclnt.GetStream();
    ASCIIEncoding asen = new ASCIIEncoding();
    byte[] ba = asen.GetBytes(str);
    stm.Write(ba, 0, ba.Length);
    tcpclnt.Close();
    is here a tut for or is there a way to do it.

    greets kevin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you may find some information on apache.org or ask on the apache dev mailing list.

    But I'am sure that you will have to program an apache module in C or C++.
     

Share This Page