Reply to auto appending .php extension

Your name:

Reply:


Posted by Evert | Rooftop Solutions on 03/25/05 19:54

Hi Folks,

I'm using PHP 4.3.10, the Zend Optimizer and Apache 1.3.33.

Somehow, if I want to open for example /dikkerapper.php, it is also
possible to access it through /dikkerapper (without the .php extension)
I haven't seen this before, but when I checked it also occurs on my
other servers. The thing is, it causes some big problems with
mod_rewrite. For example:

the contents of the dir:

/dikkerapper.php
/dispatcher.php

And the mod_rewrite directives are set like this:

/hello -> /dispatcher.php?a=hello
/how/are/you -> /dispatcher.php?a=how/are/you

but when

/dikkerapper

is requested, it first (apperently) finds dikkerapper.php is found in
the directory, and the url is rewritten to:

/dispatcher.php?a=dikkerapper.php

This might be an apache issue, but can also be related to php.ini I
guess. Any ideas? I don't get any replies on the apache configuration
newsgroups.

I'm using slackware packages for php and apache.

regards,
Evert

[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

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