Jump to content

[SOLVED] files requested without extensions


JonnoTheDev

Recommended Posts

Our server has been pre-configured to request files if the filename extension has not been supplied i.e.

abc.com/test.php

abc.com/test

 

How can I stop this as it is causing issues with mod_rewrites i.e. if I rewrite a url:

abc.com/test/1/3456

The server ignores the rewrite and just requests test.php. Only if I change the string 'test' within the rule to one that does not match the filename will the rewrite work.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.