I'm writing a small content server as a web service. There are 2 units - one authenticates the application requesting content and when authentication succeeds, the request is forwarded to the other unit that serves the content.
- [1] If I want to do this using CGI scripts, is there any equivalent of jsp:forward in CGI?
- [2] Suppose if forwarding is not possible, the client application shouldn't be able to request the second unit directly. What is the proper way to do this?