Project Infrastructure: Difference between revisions

→‎octave.org: use https urls in htaccess
(→‎octave.sourceforge.io: Add link to the website source repository.)
(→‎octave.org: use https urls in htaccess)
Line 21: Line 21:
RewriteEngine on
RewriteEngine on


RewriteRule ^doc/octave_toc.html http://www.gnu.org/software/octave/doc/interpreter/index.html [R=301,L]
RewriteRule ^doc/octave_toc.html https://www.gnu.org/software/octave/doc/interpreter/index.html [R=301,L]


RewriteRule ^hg/(.*) http://hg.savannah.gnu.org/hgweb/$1 [R=301,L]
RewriteRule ^hg/(.*) http://hg.savannah.gnu.org/hgweb/$1 [R=301,L]
Line 29: Line 29:
RewriteRule ^bugs/(.*) http://bugs.octave.org/bugs/$1 [R=301,L]
RewriteRule ^bugs/(.*) http://bugs.octave.org/bugs/$1 [R=301,L]


RewriteRule ^docs.html http://www.gnu.org/software/octave/support.html [R=301,L]
RewriteRule ^docs.html https://www.gnu.org/software/octave/support.html [R=301,L]


RewriteRule ^packages.html http://octave.sf.net [R=301,L]
RewriteRule ^packages.html https://octave.sourceforge.io [R=301,L]


RewriteCond $1 !^(doxygen|gnulib-git-mapfile|old-list-archives|stats|wiki|octave-wiki|w)
RewriteCond $1 !^(doxygen|gnulib-git-mapfile|old-list-archives|stats|wiki|octave-wiki|w)
RewriteRule (.*) http://www.gnu.org/software/octave/$1 [R=301,L]
RewriteRule (.*) https://www.gnu.org/software/octave/$1 [R=301,L]


Options +FollowSymLinks
Options +FollowSymLinks
296

edits