• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

Default file extensions in apache

I want to be able (preferrably with .htaccess) to get apache to recognize files without entering their extension in the URL..  for example: if I wanted to call http://www.website.com/script.php, that i would also be able to use the URL http://www.website.com/script  (without any extension).  I want my files to keep their .php extension on the server- i just want apache to recognize them without any extension.

thanks-

0
invizabul
Asked:
invizabul
1 Solution
 
periwinkleCommented:
Try something like this:

Redirect * http://www.website.com/*.php
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now