View Single Post
  #2 (permalink)  
Old 02-14-2008, 11:33 AM
wige's Avatar
wige wige is online now
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,661
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: html file w/ no file extension

This is done server side, you need to set the mime type of the file through .htaccess if it is an Apache server. However, I would not be suprised if the wiki system used mod_rewrite to change /some_entry to /showEntry.php?s=some_entry. Because Apache knows what mime type to send for the PHP file, no modification has to be made, even though the outside user doesn't see the extension.
__________________
The best way to learn anything, is to question everything.
Reply With Quote