How can Apache be rewriting URLs without mod_rewrite enabled or configured?
I\'m working on a site redesign from my development server. I was using a directory stru
What you call a rewrite can be done by a lot of others instructions:
Theses configuration things are usually not in .htaccess files by default, as .htaccess files is just a bad thing slowing down apache and allowing user to add some other rules than the one defined in VirtualHosts. Most usefull configuration stuff is in /etc/apache2/sites-enabled
, /etc/apaches2/mod-enableds/
and /etc/apache2/conf.d/
.
Now the strangest one is Option Multiviews
make a grep -R MultiViews /etc/apache2/*
. This option will map any call to http://www.example.com/foo/bar to foo/bar.php or foo/bar.html if theses directories exists in the DocumentRoot and if theses files exists (trying on all available extensions).