Things I've confirmed:
Site is on Ubuntu 13.10 server at /var/www/mysite.com/htdocs/
Uncommented:
/var/www/mysite.com/htdocs/.htaccess
RewriteBase /
Catalog URL Key = phones
Desired URL for this category =
http://mysite.com/phones.html
Added the following in
/etc/apache2/sites-enabled/000-default.conf
:<VirtualHost *:80> ... <Directory /var/www/> AllowOverride All </Directory> </VirtualHost>
Restarted apache
Cleared Magento Cache
Cleared Magento Indexing
System -> Configuration -> Web -> Use Web Server Rewrites = Yes
System -> Configuration -> Web -> Secure -> Use Secure URLs in Frontend = Yes
Tried adding the AllowOverride All
directory code to /etc/apache2/sites-enabled/mysite.com.conf
as well and the result is the same. I've tried <Directory /var/www/mysite.com/htdocs/>
and <Directory /var/www/mysite.com/>
along with the version I put above. No dice.
The only thing the options above does is remove index.php from the links paths and breaks all the links. Trying to use url http://mysite.com/index.php/phones.html
still works, but has been removed from all links.
.htaccess
, it wasn't writable? That makes no sense, since whatever I do in the file, it makes no difference.RewriteRule .* index.php [L]
?