HTTPD doesn't see the tags in the file at all. The way the file is processed is determined by which Handler you set in the configuration: https://httpd.apache.org/docs/2.4/handler.html
To have your <?mystuff tag sent to the correct Handler, you would probably use your own file extension, for example index.mystuff, and in your configuration, add AddHandler mystuff-handler .mystuff - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Jan 28, 2018 4:17 AM, "Jens Kallup" <[email protected]> wrote: Hi Eric, Thank you for the Link. I mean: "writing module to interpret codes like PHP." See: If the Developer of a Script (called e.g. "test.script"), and he/she insert a open-tag (called e.g. <?mystuff /* code here */ ?>) the end-tag is then ?>. How to handle <?mystuff .. ? It clear from my side, that invoke a parser/parser-interpreter. But who see Apache the open-tag? Jens Am 28.01.2018 um 00:51 schrieb Eric Covener: > It's not clear what you're asking. > > Are you asking about writing an Apache module that interprets PHP the > same way mod_php does? > > A basic introduction to writing modules is available here: > http://httpd.apache.org/docs/2.4/developer/modguide.html > > -- Eric Covener >
