How to let Apache execute PHP script without extension .php
| From: | Mike Duin | Date: | Fri, 06 Sep 2002 08:04:34 +0000 |
| Subject: | How to let Apache execute PHP script without extension .php | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8336@lists.php.net to get a copy of this message | ||
Hi,
I would like to run a php script but without giving it the extension .php.
Would like to do this because I have the trailing slash problem in apache.
(the last slash in a URL which tells apache if it is a file or a folder)
I already tried mod_rewrite... but this one doesnt work quite good with
the Informix WebDriver..... argh.
So my last option is a redirect in a script.....
Does anyone know how to configure this on my Redhat 7.3 box?
Apache 1.3.22 (yeah I know it is old, but have to :( )
PHP 4.2.2
Regards
Mike J. Duin