I'm writing a web server app in C++ using httpPlatformHandler and Winsock. After some issues I have it working well.
My question is: How can I determine the full path name of the file that triggered the request?
The only clue I see is the first line of the headers:
GET /httpserver.pbh HTTP/1.1
I want to be able to read the contents of the file so I need to come up with:
C:\inetpub\wwwroot\httpserver.pbh
ISAPI and FastCGI provide this value.