[pmwiki-users] Putting ".html" extensions onto pages

Patrick R. Michaud pmichaud at pobox.com
Wed Mar 1 10:34:12 CST 2006

On Wed, Mar 01, 2006 at 10:56:05AM -0500, Neil Herber wrote:
> One of the hosting services I used some time back used "htm" and 
> "html" to distinguish between static pages and those with server-side 
> includes (SSI). The more common pair nowadays is "html" and "shtml". 
> Having a list of ignorable extensions *might* be useful, but since 
> the web server never gets to parse the extension (having passed it to 
> PmWiki) I am not sure that it matters a great deal.

Just for clarification (mainly in case anyone comes along and reads
this thread later), it's not that the webserver "never gets to parse
the extension", it's just that most common configurations of Apache
look at the extension only after it's found the resource correctly
associated with the requested url.  (In the case of PmWiki, that resource
is the pmwiki.php script, or whatever wrapper script is invoking PmWiki.)

It's always possible for a webserver to be configured to parse
a url's extension and do things based on that prior to invoking
the pmwiki.php script; it's just extremely rare that a webserver
would be configured to do so.  (And in such cases it would simply
be that the ".html" form of page addresses wouldn't work, which is
exactly what we have now.)


More information about the pmwiki-users mailing list