model view controller - Htaccess Rule to Ignore File Extensions (Eg. ".htm") -


I am using the Zend Framework and want to be able to terminate my URLs in ".htm" What should I add to my .htaccess file?

Then the following will be:

www.mysite.com/controller/www.mysite.com/controller.htm

As is:

www.mysite.com/controller/action
www.mysite.com/controller/action.htm

I try It seems to have anything to work for.

Try something like what you are searching for:

  River Revolution on Rewrite (. +) \. Htm $$ 1  

Best of luck, Fabian


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -