I had to change some configuration settings in the nginx.conf file, and the links are working correctly
What is happening now is the content is generated twice, so the same content is repeated one on top of the other. Even after adding Response.Content.Clear at the top of OnRequest event. It is still doubled up. The second repeat is preceded by
EnumFontFamiliesEx is not yet implemented for this widgetset
EnumFontFamiliesEx is not yet implemented for this widgetset
EnumFontFamiliesEx is not yet implemented for this widgetset
EnumFontFamiliesEx is not yet implemented for this widgetset
CONTENT-TYPE: TEXT/HTML
This happens with both Apache and Nginx
The version I am using is 1.2.3 on Ubuntu 8.04
Another point concerning compilation is that smart linking is turned on in the Project's compiler options, and it is causing high memory usage and the swap file gets filled up
Can it also be debugged while running?
If the URL is entered in this form /spidersample.cgi?hello, shouldn't work? the /hello etc appear to be hard coded, but aren't they just a nicer way of expressing /spidersample.cgi?hello ?
?hello is a query parameter, you should use like spidersample.cgi?name=motaz&address=Khartoum
but /hello means path, which can be accessed using SpiderAction component:
you could use path + query parameters like this:
spidersample.cgi/hello?name=motaz&Address=Khartoum
if you omit action name (/hello) then all your requests will go to main SipderCGI OnRequest event.
If you want not to hard code application name you could use this function which extracts actual executable name:
ExtractFileName(ParamStr(0));