I'm trying to use mod_rewrite for a client's site, but have got stuck with the simplest of things. It simply seems like nothing at all is happening.
In despair, I finally regressed to following a guide for dummies. Hence I created alice.html and bob.html, and populated .htaccess with the following words:
RewriteEngine on
RewriteRule ^alice.html$ bob.html
This is supposed to rewrite alice.html to bob.html. But nothing happens. Alice is alice, bob is bob.
mod_rewrite is enabled according to phpinfo. I've restarted Apache and cleared the cache. All files are owned by apache with full permissions, and accessible. I can't think of anything else to do but to kindly ask you people for advice.
Where did I go wrong?
In despair, I finally regressed to following a guide for dummies. Hence I created alice.html and bob.html, and populated .htaccess with the following words:
RewriteEngine on
RewriteRule ^alice.html$ bob.html
This is supposed to rewrite alice.html to bob.html. But nothing happens. Alice is alice, bob is bob.
mod_rewrite is enabled according to phpinfo. I've restarted Apache and cleared the cache. All files are owned by apache with full permissions, and accessible. I can't think of anything else to do but to kindly ask you people for advice.
Where did I go wrong?