I have tried to find the answer, but I failed. Other questions are with htaccess.
I found this question similar of my question, but I did not get my answer.
I need it without .htaccess, because I do not have permission of URL rewriting in my client's server.
How can I achieve this?
If you don't have access to your
.htaccess
orhttpd.conf
file the you could set up a proxy (like nginx) in front of the web server, point the DNS record to this proxy and have the proxy rewrite the requests from .html to .php to pass on to your apache server.However, if you don't have access to .htaccess or httpd.conf files, you probably don't control the DNS records...