How to run a c program on apache 2.2 server? -
I am doing an OpenSSL project and I'm totally new to the web server. I have a client.c Found
and server.c
. Creates a connection to the server at client.c
port 6008 and reads the data from stdin
and then sends the data to the server server.c
Reads the data from the socket and writes it back to stdout
.
I was compiled on the server's
PS I have installed Apache 2.2.15 and OpenSSL 1.0.0A and they are all working.
Any help would be greatly appreciated!
Z Jane
If the server reads data from a socket, then it does not need to be run by Apache. Just run it from the command line.
You see, Apache is an HTTP server. If a program communicates its network, then it does not require an HTTP interface.
Comments
Post a Comment