I have looked all over but cannot find a way to do this, IIS does it, Apache does it with Chillisoft ASP but I have my own web server in delphi (based on Indy 9 demo using IdHTTPServer) which works great but cannot handle ASP pages. In theory this should not be that difficult, I just need to parse the ASP file through an engine of some sort so it is pure html ready to pass back to the client as IIS and Chillisoft does.
Anyone know how I can achieve this? I am using the following ASP code to test, the browser shows "testing..." and nothing else...
<title> My First ASP Page </title>
' Comment - The asp code which is ignored by IdHTTPServer component and the browser..
Response.Write "<p>This is a test of ASP.</p>"
Any help with this would be much appreciated, I was expecting to find a dll out there which you could pass ASP code through and have the HTML code returned that the client browser would use instead but no such luck! am I the first person to try to do this? am I going about this the wrong way??
If you need further explanation please do ask. Not sure whether this is a difficult one or not, will increase points if it proves to be.
This question in a nutshell is "How do I process ASP code using Delphi so that I just end up with the final html file that can be loaded into a browser?"
Thanks in advance,