j***@gmail.com
2013-07-03 16:00:58 UTC
This is embarrassing - I made it work and I cannot reproduce on another server:
I set up my current RHEL site with apache 2.2.13 a couple years ago to have it accept URLs that their file extensions (.php, .html) can be omitted. i.e. The browser stays on the URL without showing the file extension. e.g.
http://mydomain.org/test for
http://mydomain.org/test.php
It works just as fine for the entire site over the years, and is still working.
- I didn't use RewriteEngine (as a test if I try to turn it on it fails to load mod_rewrite.so because I never had one);
- I never use .htaccess
Now the problem is when we need to move to a new machine I can not make it work on RHEL/apache 2.4.4 -- I cannot figure out from my current settings how I got it work. I tried to use the old httpd.conf it simply didni't work... and *many* of the cross reference hyperlinks in site pages or URL broadcasted to world are all without file extensions.
Any suggestion where else should I look?
Many thanks in advance! joe
I set up my current RHEL site with apache 2.2.13 a couple years ago to have it accept URLs that their file extensions (.php, .html) can be omitted. i.e. The browser stays on the URL without showing the file extension. e.g.
http://mydomain.org/test for
http://mydomain.org/test.php
It works just as fine for the entire site over the years, and is still working.
- I didn't use RewriteEngine (as a test if I try to turn it on it fails to load mod_rewrite.so because I never had one);
- I never use .htaccess
Now the problem is when we need to move to a new machine I can not make it work on RHEL/apache 2.4.4 -- I cannot figure out from my current settings how I got it work. I tried to use the old httpd.conf it simply didni't work... and *many* of the cross reference hyperlinks in site pages or URL broadcasted to world are all without file extensions.
Any suggestion where else should I look?
Many thanks in advance! joe