You are here: Re: Apache appending .php extension? « PHP Programming Language « IT news, forums, messages
Re: Apache appending .php extension?

Posted by Erwin Moller on 11/27/68 11:48

raisins@gmail.com wrote:

> This is kind of an obscure question, and I hope someone has a clue
> what's going on.
>
> I've got PHP4 running on Apache 1.3 on win32, and whenever I request a
> URL like so:
> http://localhost/tag/
> It appears that the server is actually calling the script
> http://localhost/tag.php (which is a real file). However, when I do
> something like
> http://localhost/nonexistantfile/
> Apache does not try to serve up anything at all. The behavior of
> treating /tag/ like /tag.php is really screwing up my attempts to do
> RewriteRule matching. Please help!

Hi,

My guess is that your RewriteRule's are causing this problem.
Under 'normal' apache installation, this doesn't happen.

Try to remove your extra rules, make a plain entry in conf for your site,
reload Apache gracefull, and retry.
Does it still happen?

Regards,
Erwin Moller

 

Navigation:

[Reply to this 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

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