Running on Ubuntu Server 10.10 on a VPS. Running Apache2 with mod_rewrite enabled. phpinfo() shows mod_rewrite.
core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_proxy mod_proxy_http mod_reqtimeout mod_rewrite mod_setenvif mod_status
Apache was freshly installed, no real changes.. just got this VPS to start experimenting on. I enabled mod_rewrite using this command:
sudo a2enmod rewrite
I created my .htaccess file and added it to my www directory containing this code:
RewriteEngine on RewriteRule ^alice.html$ bob.html
both html files are in the same www directory as the .htaccess file, I made sure to restart the server after changes, and I have ensured there are no simply spelling or capitalization mistakes. Any suggestions would be appreciated, Thanks.