Project Infrastructure: Difference between revisions

Jump to navigation Jump to search
m
→‎octave.org: https again
(→‎wiki.octave.org: Add info about https://www.mediawiki.org/wiki/Extension:Math problem.)
m (→‎octave.org: https again)
(7 intermediate revisions by the same user not shown)
Line 13: Line 13:
=== octave.org ===
=== octave.org ===


* main project web site address ([http://octave.org http://octave.org] → https://www.gnu.org/software/octave)
* main project web site address ([https://octave.org https://octave.org] → https://www.gnu.org/software/octave)
* email forwarding
* email forwarding
* [[Doxygen]] pages hosted here
* [[Doxygen]] pages hosted here
* other pages redirect elsewhere (gnu.org/software/octave, octave.sourceforge.io)
* other pages redirect elsewhere (gnu.org/software/octave, octave.sourceforge.io)
* htaccess file:
 
<nowiki>
{{File|.htaccess|<pre>
RewriteEngine on
RewriteEngine on


Line 45: Line 45:
RewriteRule ^wiki/(.*)$ http://wiki.octave.org/$1 [R=301]
RewriteRule ^wiki/(.*)$ http://wiki.octave.org/$1 [R=301]
RewriteRule ^wiki$ http://wiki.octave.org/ [R=301]
RewriteRule ^wiki$ http://wiki.octave.org/ [R=301]
</nowiki>
</pre>}}


=== packages.octave.org ===
=== packages.octave.org ===


* web site primarily so we can have a stable address for octave's <code>pkg -forge</code> command
* web site primarily so we can have a stable address for octave's <code>pkg -forge</code> command
* htaccess file:
 
<nowiki>
{{File|.htaccess|<pre>
RewriteEngine on
RewriteEngine on


Line 57: Line 57:


RewriteRule (.*) https://octave.sourceforge.io/$1 [R=307,L]
RewriteRule (.*) https://octave.sourceforge.io/$1 [R=307,L]
</nowiki>
</pre>}}


=== planet.octave.org ===
=== planet.octave.org ===
Line 66: Line 66:


* [https://www.mediawiki.org/wiki/MediaWiki MediaWiki] installation
* [https://www.mediawiki.org/wiki/MediaWiki MediaWiki] installation
* htaccess file:
** Additional skins installed:
*** https://www.mediawiki.org/wiki/Skin:Minerva_Neue (Mobile skin)
** Additional extensions installed:
*** https://www.mediawiki.org/wiki/Extension:Math
*** https://www.mediawiki.org/wiki/Extension:MobileFrontend
*** https://www.mediawiki.org/wiki/Extension:PageNotice
 
 
{{File|.htaccess|<pre>
# https://help.dreamhost.com/hc/en-us/articles/214895317-How-do-I-change-the-PHP-version-of-my-site- (2019-02-26)
AddHandler fcgid-script .php
FCGIWrapper "/dh/cgi-system/php72.cgi" .php


<nowiki>
RewriteEngine on
RewriteEngine on


Line 74: Line 84:
## http://www.octave.org/wiki/index.php?title=OctConf_2012
## http://www.octave.org/wiki/index.php?title=OctConf_2012
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/wiki/index\.php$ http://wiki.octave.org/%1?  
RewriteRule ^/wiki/index\.php$ https://wiki.octave.org/%1?  


RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/index\.php$ http://wiki.octave.org/%1?  
RewriteRule ^/index\.php$ https://wiki.octave.org/%1?  




Line 83: Line 93:
RewriteCond $1 !^(favicon.*)
RewriteCond $1 !^(favicon.*)
RewriteRule ^(.*)$ /wiki/index.php?title=$1
RewriteRule ^(.*)$ /wiki/index.php?title=$1
</nowiki>
</pre>}}
 
==== Known wiki issues ====
 
* While parsing non-cached <syntaxhighlight inline><math></math></syntaxhighlight> sections, the following error message occurs <syntaxhighlight inline>Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): ...</syntaxhighlight>
** '''Solution:''' On the server copy the missing LaTeX style to the [https://www.mediawiki.org/wiki/Texvc texvc] build directory. <code>cp -t /tmp ~/local/share/tex/cancel.sty</code>


== Hosted on jwe's digitalocean.com account ==
== Hosted on jwe's digitalocean.com account ==
Line 126: Line 131:
* limited to using [https://web.cvs.savannah.gnu.org/viewvc/octave CVS] to upload web pages
* limited to using [https://web.cvs.savannah.gnu.org/viewvc/octave CVS] to upload web pages
* doxygen, octave forge (other?) pages hosted elsewhere
* doxygen, octave forge (other?) pages hosted elsewhere
* htaccess file:   
 
<nowiki>
{{File|.htaccess|<pre>
<FilesMatch "\.(in|m4)$">
<FilesMatch "\.(in|m4)$">
   Order allow,deny
   Order allow,deny
Line 154: Line 159:
RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L]
RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L]
RewriteRule ^doc/interpreter/(.*) doc/v4.2.0/$1 [L]
RewriteRule ^doc/interpreter/(.*) doc/v4.2.0/$1 [L]
</nowiki>
</pre>}}


=== ftp.gnu.org ===
=== ftp.gnu.org ===
Line 169: Line 174:


* [https://octave.sourceforge.io Octave Forge web site] and [https://sourceforge.net/p/octave/project-web/ci/default/tree it's source]
* [https://octave.sourceforge.io Octave Forge web site] and [https://sourceforge.net/p/octave/project-web/ci/default/tree it's source]
* htaccess file:
 
<nowiki>
{{File|.htaccess|<pre>
<FilesMatch "\.svgz$">
<FilesMatch "\.svgz$">
Header set Content-Encoding gzip
Header set Content-Encoding gzip
Line 239: Line 244:
</ifModule>
</ifModule>
</FilesMatch>
</FilesMatch>
</nowiki>
</pre>}}
 
[[Category:Development]]

Navigation menu