1

Strange behaviour of PHP's virtual() when Apache's mod_negotiation comes into play

view story
linux-howto

http://serverfault.com – First: if acting separately, PHP's virtual() as well as Apache's mod_negotiation work fine. But I've got trouble when virtual() refers to a file which needs negotiation (e.g. Multi-Lang). Easiest explained using a simplified example: In /texts/ I place two files: example.html (Content: <P>This is English</P>) and example.html.de (<P>Dies ist Deutsch</P>). Now let's take an example PHP script: <HTML><HEAD><TITLE>Example</TITLE></HEAD><BODY> <? virtual("/texts/example.html"); ?> </BODY></HTML> This works fine, and (HowTos)