Welcome to WebmasterWorld Guest from 188.8.131.52
I believe this just makes the file "topic" and "forum", which have no extension, to execute as php. Is there a way I can do essentially the same thing with IIS?
www.example.com/topic or www.example.com/subdirs/topic
www.example.com/forum or www.example.com/subdirs/forum
or do you want to be able to have those extensions available if entered at the end of any URL within your site?
The reason I ask is that if you just want a fixed URL for each item then simply create a sub-directory with a default document, that way "www.example.com/topic" will work even though in reality it is "www.example.com/topic/default.php"
joined:July 19, 2001
The <Files> directive provides for access control by filename.
The ForceType directive forces all matching files to be served as the content type given by media type. For example, if you had a directory full of GIF files, but did not want to label them all with ".gif", you might want to use: