Some possibilities:
MultiViews - Apache picks an appropriate file based on the start of the
filename. You can have other types of files, e.g. images, in the same
directories, although there's some overhead to the way Apache picks files.
ForceType - force all files in a directory to be run as PHP. Pretty simple,
but don't put any other files in the same directory.
RewriteRule - mod_rewrite can do all sorts of transformations from URLs to
files, adding a .php extension would be a trivial rule.
The alt.apache.configuration group should be able to give more detail.
--
Andy Hassall :: an...@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Question:
Is this slowing down website access and how much?
Thanks,
Jens
Not significantly, unless you have a very busy site and complex rules.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================
AddType php-cgi .html .htm .xml
For this example, html, htm, and xml files are treated as PHP.