paul.maddox
July 22nd, 2009, 08:22 AM
Hi all,
I've noticed that with Apache2 Debian/Ubuntu, it will automatically add .php extensions to the URLs:
So if I have:
http://localhost/login.php
I can go to:
http://localhost/login
and it will still work - which is nice.
How can I replicate this behavior on another distro? Is it a mod_rewrite trick?
I've noticed that with Apache2 Debian/Ubuntu, it will automatically add .php extensions to the URLs:
So if I have:
http://localhost/login.php
I can go to:
http://localhost/login
and it will still work - which is nice.
How can I replicate this behavior on another distro? Is it a mod_rewrite trick?