struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [struts-site] branch master updated: establish https rewrite as recommended by Niklas Hedman
Date Wed, 12 Sep 2018 14:46:38 GMT
Pushed a change to exclude /dtdts and it should be ok

śr., 12 wrz 2018 o 16:14 Lukasz Lenart <lukaszlenart@apache.org> napisał(a):
>
> I think this broke https://issues.apache.org/jira/browse/WW-4959 - we
> must exclude the "/dtds" path
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> śr., 12 wrz 2018 o 10:16 <rgielen@apache.org> napisał(a):
> >
> > This is an automated email from the ASF dual-hosted git repository.
> >
> > rgielen pushed a commit to branch master
> > in repository https://gitbox.apache.org/repos/asf/struts-site.git
> >
> >
> > The following commit(s) were added to refs/heads/master by this push:
> >      new b2831f4  establish https rewrite as recommended by Niklas Hedman
> > b2831f4 is described below
> >
> > commit b2831f4a10d6311800185550d0d8043558ff950d
> > Author: Rene Gielen <rene.gielen@gmail.com>
> > AuthorDate: Wed Sep 12 10:16:46 2018 +0200
> >
> >     establish https rewrite as recommended by Niklas Hedman
> > ---
> >  source/.htaccess | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/source/.htaccess b/source/.htaccess
> > index 9e224da..1be2f2e 100644
> > --- a/source/.htaccess
> > +++ b/source/.htaccess
> > @@ -1,6 +1,10 @@
> >  # This file is maintained at https://gitbox.apache.org/repos/asf?p=struts-site.git
> >  DirectoryIndex index.html
> >
> > +RewriteEngine On
> > +RewriteCond %{HTTPS} !=on
> > +RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
> > +
> >  RedirectMatch \/docs\/version\-notes\-25([0-9]{1,2})+\.html   https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.$1
> >  RedirectMatch \/docs\/version\-notes\-23([0-9]{1,2})+\.html   https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.$1
> >  RedirectMatch \/docs\/version\-notes\-22([0-9]{1,2})+\.html   https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.$1
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message