Reputation: 937
So I am trying to build a C Program that handles HTTP requests through a web browser. The program is listening on a predefined port for incoming HTTP requests and responds appropriately. It is working totally fine when I place is it in the root directory but it doesnt work when I move it to directory on its own.
For instance, this works: localhost:9000
but this doesnt: localhost:9000/myprogram
Any clues on how I may fix this?
Upvotes: 0
Views: 148
Reputation:
Hard to answer with so few details. But to get started I would check the following:
Upvotes: 0