Re: [users@httpd] Limiting redirects with rewriterule/rewritecond

2024-02-29 Thread Frank Gingras
On Thu, Feb 29, 2024 at 7:18 AM Dave Wreski wrote: > > In my ongoing effort to reduce the number of redirects for >> linuxsecurity.com, I could use a bit more help. Currently we have one >> redirect to strip off any potential trailing slash as well as another that >> strips out any preceding

Re: [users@httpd] Limiting redirects with rewriterule/rewritecond

2024-02-29 Thread Dave Wreski
In my ongoing effort to reduce the number of redirects for linuxsecurity.com , I could use a bit more help. Currently we have one redirect to strip off any potential trailing slash as well as another that strips out any preceding 'www'.

Re: [users@httpd] Limiting redirects with rewriterule/rewritecond

2024-02-27 Thread Frank Gingras
On Sun, Feb 25, 2024 at 5:29 PM Dave Wreski wrote: > Hi, > > In my ongoing effort to reduce the number of redirects for > linuxsecurity.com, I could use a bit more help. Currently we have one > redirect to strip off any potential trailing slash as well as another that > strips out any preceding

[users@httpd] Limiting redirects with rewriterule/rewritecond

2024-02-25 Thread Dave Wreski
Hi, In my ongoing effort to reduce the number of redirects for linuxsecurity.com, I could use a bit more help. Currently we have one redirect to strip off any potential trailing slash as well as another that strips out any preceding 'www'. RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]