[pmwiki-users] action=source question
Joachim Durchholz
jo at durchholz.org
Wed May 3 03:25:54 CDT 2006
Curtis, Clayton schrieb:
> I looked at file types and
> found that php on misbehaving machines had been set up to open files in
> Notepad. When I removed that, all worked fine. I have no idea why, since
> the file should have been processed on the =server=, not the client.
It's a well-known IE misbehaviour. Depending on exact version, file
size, and phase of the moon, it will sometimes decide to ignore the
headers that the server sent and infer what to do based on the extension.
You can get rid of this by eliminating the .php extension from the URL.
The easiest way is to switch on content negotiation (say "Options
+MultiViews" in .htaccess). That way, a URL like .../pmwiki will be
mapped to pmwiki.php by the server (just make sure you don't have a
pmwiki.html, pmwiki.gif, or any other pmwiki.* in that directory).
The second-easiest way is to adopt some form of CleanUrls.
Regards,
Jo
More information about the pmwiki-users
mailing list