Your own interpreter for apache

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

  1. ColdDoT

    ColdDoT Member


    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
    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#
    TcpClient tcpclnt = new TcpClient();
    tcpclnt.Connect("", 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);
    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 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