Magento 1.8 – Custom 404 Page Not Displaying

404404-pagemagento-1.8

I have a site with Magento installed. It is installed in a subdirectory (http://mysite.com/store) — Everything works properly, except for when I go to a page that should 404 (ex: http://mysite.com/store/dfgsdfg). I would expect this to show the page defined in my Magento Default No-route URL, but instead it is showing the default apache 404 page (Not Found The requested URL /index.php was not found on this server. Apache/2.4.6 (Ubuntu) Server at www.vosslighting.com Port 80)

In my .htaccess file I have (just the pertinent parts):

DirectoryIndex index.php
Options +FollowSymLinks
RewriteEngine on
RewriteRule .* index.php [L]

I have the line '#RewriteBase /store/' commented out, but it doesn't seem to help anything when I uncomment it.

Can anyone point me in the right direction of where I might need to look to get my custom 404 pages?

Best Answer

I finally figured out what the problem was. In my virtual host, I had ProxyErrorOverride On set. This was causing my proxy to handle 404 headers instead of Magento