Hi. I'm having issues trying to get .htaccess make mod_rewrite work. I have mod_rewrite setup properly (it's in phpinfo()), but it just seems to not work.
Right now I have two files, bob.html and alice.html, and of course .htaccess (all in the root directory). What I want to happen is have bob.html show up when I visit alice.html, so I put this in .htaccess:
.htaccess does not seem to be read. I tested ErrorDocument and that doesn't work either. Any ideas?
P.S. I'm running Apache 2.2 and PHP 5 on Windows Media Center Edition 2005.
Right now I have two files, bob.html and alice.html, and of course .htaccess (all in the root directory). What I want to happen is have bob.html show up when I visit alice.html, so I put this in .htaccess:
Code:
RewriteEngine on RewriteRule ^alice\.html$ bob.html
P.S. I'm running Apache 2.2 and PHP 5 on Windows Media Center Edition 2005.
Comment