I want to rewrite URLs like
to
In other words, I want to strip out the php extension
I tried putting in the .htaccess file the following:
DefaultType application/x-httpd-php
But that didn't work at all.
So I tried with mod_rewrite:
RewriteRule /[^/\.]+$ %{REQUEST_FILEN AME}.php
It doesn't work either!!!
I need help please. What is the problem??
My hosting server is apache 1.3.37
Thanks in advance.
to
In other words, I want to strip out the php extension
I tried putting in the .htaccess file the following:
DefaultType application/x-httpd-php
But that didn't work at all.
So I tried with mod_rewrite:
RewriteRule /[^/\.]+$ %{REQUEST_FILEN AME}.php
It doesn't work either!!!
I need help please. What is the problem??
My hosting server is apache 1.3.37
Thanks in advance.
Comment