I'm a bit confused how to serve a static page by a module.
I'm using apache 2.2.4: in particular cases I'd like that my module
replies with a static page (/www/static.html).
Now in these cases my module replies with:
apr_table_set(r->headers_out, "Location", sconf->html);
apr_table_set(r->headers_out, "Content-Location", sconf->html);
apr_table_unset(r->headers_out, "Content-Length");
apr_table_unset(r->headers_out, "Content-Type");
return HTTP_TEMPORARY_REDIRECT;
but in this way the client makes a new request to the page static.html.
I'm like to serve the page immediatly without any other request.
Is it possible?
Best regards
Marco