Reply to Re: PHP script gets called without extension

Your name:

Reply:


Posted by Andy Hassall on 12/08/06 00:02

On 7 Dec 2006 15:59:46 -0800, "arorap" <arorap@gmail.com> wrote:

>I've seen a behavior on both my windows machine and a Linux server that
>php scripts get called even when called without a .php extension.
>
>for example,
>http://srlchem.com/company/about.php
>gets executed even when called as
>http://srlchem.com/company/about
>
>(you can actually verify by opening both those links)
>
>Is anyone aware of this behaviour ? This works for all PHP files and
>I've not put any configuration directive in place to make this happen.
>Anyone has any clue why this happens ? .. What default configuration
>can be making this happen ?

Apache's MultiViews option is most likely - ask in alt.apache.configuration
for more details.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация