Hello. I'm coding a multimedia manager that runs on prism and needs a server since it is a cgi application.

Currently it uses thttpd and it works perfectly but the problem is that some users have apache installed and someone reported that thttpd messed up his apache installation. (thttpd installs automatically as a dependency of my app)

I through about using apache instead since it is more popular but it is very complicated to setup apache the way I want it.

Now, some programs like transmission or amule have a server feature to be able to access them from a web page and I believe that they don't use any stand alone web server for that.

I want to do exactly the same.
Does anyone know how can I accomplish that?
I am using bash.

Thanks in advance!