Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP with no file extension
September 29, 2006, 9:39 pm
rate this thread
Re: PHP with no file extension
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 :: email@example.com :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
- » Error - Cannot pass paramter --> Failed to open stream
- — Previous thread in » PHP Scripting Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum