[Qgis-psc] Redirect on PyQGIS

Mathieu Pellerin nirvn.asia at gmail.com
Tue Jun 9 07:41:21 PDT 2020


Sounds good. Wondering though whether it'd be even less trouble to just
have the non official releases fallback to master instead of an ever
increasing, manually edited list of development versions.

On Tue, Jun 9, 2020, 21:37 Richard Duivenvoorde <rdmailings at duif.net> wrote:

> On 6/9/20 3:06 PM, Mathieu Pellerin wrote:
> > It'd not only be nice but match the behavior of the pyqgis cookbook and
> > the qgis documentation sites too.
> >
> > On Tue, Jun 9, 2020, 19:59 Denis Rouzaud <denis.rouzaud at gmail.com
> > <mailto:denis.rouzaud at gmail.com>> wrote:
> >
> >     Hi Richard, hi PSC,
> >
> >     Not sure if you are still handing the PyQGIS redirect, if you are
> >     not, maybe Tim?
> >
> >     Matthieu (nirvn) was pointing out that it would be nice that any
> >     non-existing version would automatically redirect to master.
> >     e.g. manual/3.13/ will auto redirect to manual/master/
> >
> >     Is this possible?
>
> Ok, I think it works...
>
> RewriteRule ^\/pyqgis/3.1/(.*) /pyqgis/3.2/$1 [R]
> RewriteRule ^\/pyqgis/3.3/(.*) /pyqgis/3.4/$1 [R]
> RewriteRule ^\/pyqgis/3.5/(.*) /pyqgis/3.6/$1 [R]
> RewriteRule ^\/pyqgis/3.7/(.*) /pyqgis/3.8/$1 [R]
> RewriteRule ^\/pyqgis/3.9/(.*) /pyqgis/3.10/$1 [R]
> RewriteRule ^\/pyqgis/3.11/(.*) /pyqgis/3.12/$1 [R]
> RewriteRule ^\/pyqgis/3.13/(.*) /pyqgis/master/$1 [R]
>
> Lemme know if you have issues, or better options
>
> Regards,
>
> Richard Duivenvoorde
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-psc/attachments/20200609/ffb3b74c/attachment-0001.html>


More information about the Qgis-psc mailing list