AW: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-08 Thread Benny Kannengießer
tice to use 301 redirects to fully keep the page ranking of the page the request is redirected to. -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Samstag, 5. Februar 2022 11:01 An: users@tomcat.apache.org Betreff: Re: AW: AW: Redirect with 301 for directory requested without trailin

AW: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-06 Thread Thomas Hoffmann (Speed4Trade GmbH)
ble. Up to now I never got this kind of request from any SEO agency or customer. Greetings Thomas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Samstag, 5. Februar 2022 11:01 An: users@tomcat.apache.org Betreff: Re: AW: AW: Redirect with 301 for directory requested without trailing

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-05 Thread Mark Thomas
fairly low risk of problems there. Mark -chris -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 3. Februar 2022 17:41 An: users@tomcat.apache.org Betreff: Re: AW: Redirect with 301 for directory requested without trailing slash I didn't see a commit in the

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Christopher Schultz
rcumvent. What would be your opinion? Ugly and working beats pretty and useless any day IMHO. -chris -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 3. Februar 2022 17:41 An: users@tomcat.apache.org Betreff: Re: AW: Redirect with 301 for directory requested without tra

AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Benny Kannengießer
rsprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 3. Februar 2022 17:41 An: users@tomcat.apache.org Betreff: Re: AW: Redirect with 301 for directory requested without trailing slash I didn't see a commit in the code but I didn't look into what sendRedirect() does and I

Re: AW: Redirect with 301 for directory requested without trailing slash

2022-02-03 Thread Mark Thomas
urce code, but now I think the DefaultServlet somehow also commits the response. So what else could I do? Make the response buffer bigger? Do you see any other possibility? -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Mittwoch, 2. Februar 2022 18:08 An: users@tomcat.apache.org

AW: Redirect with 301 for directory requested without trailing slash

2022-02-03 Thread Benny Kannengießer
. Februar 2022 18:08 An: users@tomcat.apache.org Betreff: Re: Redirect with 301 for directory requested without trailing slash On 02/02/2022 15:21, Benny Kannengießer wrote: > Hi, > > I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) > instead of 302 (tempora

Re: Redirect with 301 for directory requested without trailing slash

2022-02-02 Thread Mark Thomas
On 02/02/2022 15:21, Benny Kannengießer wrote: Hi, I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) instead of 302 (temporary redirect) when a directory is requested without a trailing slash. Currently, when Tomcat receives a request like http:///some-directory

Redirect with 301 for directory requested without trailing slash

2022-02-02 Thread Benny Kannengießer
Hi, I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) instead of 302 (temporary redirect) when a directory is requested without a trailing slash. Currently, when Tomcat receives a request like http:///some-directory it redirects to htt