NYCPHP Meetup

NYPHP.org

[nycphp-talk] not including '.php' in URI

Ajai Khattri ajai at bitblit.net
Wed Mar 22 11:17:23 EST 2006


Chris Shiflett wrote:
>
>
> Now I understand, thanks. I see "no file extensions in URLs" and "parse 
> every file as PHP" as two different things.

Why?

Under the traditional setup, Apache knows a file needs to be passed to 
mod_php because its has been told that they are denoted by a .php 
extension. If you take that away then you, in effect, are telling Apache 
to assume *all* files are PHP files...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060322/b735cc33/attachment.html>


More information about the talk mailing list