Hi,

    We're getting a ton of 404s for URLs for paths that don't exist,
    like /apps and other nonsense off the root that never existed that
    I'd like to redirect to the homepage.

...

If the "home page" is an index file in the documentroot, a simple FallbackResource will suffice, and you don't need to use mod_rewrite at all.

I believe that only works for physical files, like /images/myimage.gif, and not for virtual paths set up by Joomla, like /news/myarticle.html, correct?

I tried just adding it in the VirtualHost, but would like it to work for specific paths, not for any link that doesn't exist on the entire site.

Thanks,
Dave



Reply via email to