Re: [users@httpd] RewriteCond and negative matching

2025-04-14 Thread Frank Gingras
On Mon, Apr 14, 2025 at 12:17 PM Dave Wreski wrote: > >> 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 fo

Re: [users@httpd] RewriteCond and negative matching

2025-04-14 Thread Dave Wreski
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/

Re: [users@httpd] RewriteCond and negative matching

2025-04-14 Thread Dave Wreski
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 y

Re: [users@httpd] RewriteCond and negative matching

2025-04-14 Thread Frank Gingras
On Mon, Apr 14, 2025 at 11:32 AM Dave Wreski wrote: > 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 doc

Re: [users@httpd] RewriteCond and negative matching

2025-04-13 Thread Frank Gingras
On Sun, Apr 13, 2025 at 11:21 PM Dave Wreski wrote: > 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. > > Here's what I'm working with so far, but it redirects eve

[users@httpd] RewriteCond and negative matching

2025-04-13 Thread Dave Wreski
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. Here's what I'm working with so far, but it redirects everything to the homepage, including valid articles. For exampl