Re: auto appending .php extension
| From: | Jasper Bryant-Greene | Date: | Sun, 27 Mar 2005 06:34:00 +0000 |
| Subject: | Re: auto appending .php extension | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211663@lists.php.net to get a copy of this message | ||
Evert | Rooftop Solutions wrote:
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: [snip]I think you'll find that the MultiViews Apache option is enabled. Create an .htaccess file in your web root and put Options -MultiViews in it. Best regards -- Jasper Bryant-Greene Cabbage Promotions www: www.cabbage.co.nz email: jasper@cabbage.co.nz phone: 021 232 3303 public key: Jasper Bryant-Greene <jasper@cabbage.co.nz> keyID 0E6CDFC5 fingerprint: 2313 5641 F8F6 5606 8844 49C0 1D6B 2924 0E6C DFC5