Editing Project Infrastructure

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 13: Line 13:
 
=== octave.org ===
 
=== octave.org ===
  
* main project web site address ([https://octave.org https://octave.org] → https://www.gnu.org/software/octave)
+
* main project web site address ([http://octave.org http://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.sf.net)
 
+
* htaccess file:
{{File|.htaccess|<pre>
+
<nowiki>
 
RewriteEngine on
 
RewriteEngine on
  
RewriteRule ^doc/octave_toc.html https://www.gnu.org/software/octave/doc/interpreter/index.html [R=301,L]
+
RewriteRule ^doc/octave_toc.html http://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 https://www.gnu.org/software/octave/support.html [R=301,L]
+
RewriteRule ^docs.html http://www.gnu.org/software/octave/support.html [R=301,L]
  
RewriteRule ^packages.html https://octave.sourceforge.io [R=301,L]
+
RewriteRule ^packages.html http://octave.sf.net [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 (.*) https://www.gnu.org/software/octave/$1 [R=301,L]
+
RewriteRule (.*) http://www.gnu.org/software/octave/$1 [R=301,L]
  
 
Options +FollowSymLinks
 
Options +FollowSymLinks
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]
</pre>}}
+
</nowiki>
  
 
=== 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:
{{File|.htaccess|<pre>
+
<nowiki>
 
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]
</pre>}}
+
</nowiki>
  
 
=== 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
** Additional skins installed:
+
* htaccess file:
*** 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 84: Line 74:
 
## 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$ https://wiki.octave.org/%1?  
+
RewriteRule ^/wiki/index\.php$ http://wiki.octave.org/%1?  
  
 
RewriteCond %{QUERY_STRING} ^title=(.*)$
 
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/index\.php$ https://wiki.octave.org/%1?  
+
RewriteRule ^/index\.php$ http://wiki.octave.org/%1?  
  
  
Line 93: Line 83:
 
RewriteCond $1 !^(favicon.*)
 
RewriteCond $1 !^(favicon.*)
 
RewriteRule ^(.*)$ /wiki/index.php?title=$1
 
RewriteRule ^(.*)$ /wiki/index.php?title=$1
</pre>}}
+
</nowiki>
 
 
== Hosted on jwe's digitalocean.com account ==
 
 
 
* login accounts:  jwe jordigh
 
 
 
=== buildbot.octave.org ===
 
 
 
* master server for our [[Continuous_Build#Buildbot|Buildbot]] installation
 
  
 
=== hg.octave.org ===
 
=== hg.octave.org ===
Line 112: Line 94:
 
* [http://hg.octave.org/mxe-octave mxe-octave] (see [[MXE]])
 
* [http://hg.octave.org/mxe-octave mxe-octave] (see [[MXE]])
 
* various octave clones
 
* various octave clones
 +
* htaccess file:
 +
<nowiki>
 +
# Taken from http://www.pmwiki.org/wiki/Cookbook/CleanUrls#samedir
 +
# Used at http://ggap.sf.net/hg/
 +
Options +ExecCGI
 +
RewriteEngine On
 +
 +
RewriteBase /
 +
RewriteRule ^$ hgwebdir.cgi  [L]
 +
RewriteRule ^repos/(.*) $1 [L,QSA]
 +
# Send requests for files that exist to those files.
 +
RewriteCond %{REQUEST_FILENAME} !-f
 +
# Send requests for directories that exist to those directories.
 +
RewriteCond %{REQUEST_FILENAME} !-d
 +
# Send requests to hgwebdir.cgi, appending the rest of url.
 +
RewriteRule (.*) hgwebdir.cgi/$1  [QSA,L]
 +
</nowiki>
 +
 +
== Hosted on jwe's digitalocean.com account ==
 +
 +
* login accounts:  jwe jordigh
 +
 +
=== buildbot.octave.org ===
 +
 +
* master server for our [[Continuous_Build#Buildbot|Buildbot]] installation
  
 
=== agora.octave.org ===
 
=== agora.octave.org ===
Line 131: Line 138:
 
* 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:   
{{File|.htaccess|<pre>
+
<nowiki>
 
<FilesMatch "\.(in|m4)$">
 
<FilesMatch "\.(in|m4)$">
 
   Order allow,deny
 
   Order allow,deny
Line 159: Line 166:
 
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]
</pre>}}
+
</nowiki>
  
 
=== ftp.gnu.org ===
 
=== ftp.gnu.org ===
Line 168: Line 175:
 
== Hosted on SourceForge ==
 
== Hosted on SourceForge ==
  
* admin accounts: [https://sourceforge.net/p/octave/_members oheim, i7tiol]
+
* admin accounts: [https://sourceforge.net/p/octave/_members jbect, oheim, i7tiol]
 
* octave forge [https://sourceforge.net/p/octave/_list/hg hg] and [https://sourceforge.net/p/octave/_list/git git] repos
 
* octave forge [https://sourceforge.net/p/octave/_list/hg hg] and [https://sourceforge.net/p/octave/_list/git git] repos
  
 
=== octave.sourceforge.io ===
 
=== octave.sourceforge.io ===
  
* [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]
 
+
* htaccess file:
{{File|.htaccess|<pre>
+
<nowiki>
 
<FilesMatch "\.svgz$">
 
<FilesMatch "\.svgz$">
 
Header set Content-Encoding gzip
 
Header set Content-Encoding gzip
Line 181: Line 188:
  
 
RewriteEngine on
 
RewriteEngine on
 
# use PHP files in root directory
 
 
RewriteRule ^archive\.html$ /archive.php [PT]
 
RewriteRule ^archive\.html$ /archive.php [PT]
 
RewriteRule ^bugs\.html$ /bugs.php [PT]
 
RewriteRule ^bugs\.html$ /bugs.php [PT]
Line 194: Line 199:
 
RewriteRule ^NEWS\.html$ /NEWS.php [PT]
 
RewriteRule ^NEWS\.html$ /NEWS.php [PT]
 
RewriteRule ^packages\.html$ /packages.php [PT]
 
RewriteRule ^packages\.html$ /packages.php [PT]
 
# root directory of files for download
 
RewriteRule ^released-packages/$ https://sourceforge.net/projects/octave/files/ [R=307,L]
 
 
# a particular packages repository
 
RewriteRule ^pkg-repository/(.*)/$ https://sourceforge.net/p/octave/$1/ [R=307,L]
 
 
# don't rewrite paths in the following directories
 
RewriteRule ^templates(/|$)(.*) - [L]
 
RewriteRule ^pkg_icon(/|$)(.*) - [L]
 
RewriteRule ^java(/|$)(.*) - [L]
 
RewriteRule ^doxygen32(/|$)(.*) - [L]
 
RewriteRule ^doxygen34(/|$)(.*) - [L]
 
RewriteRule ^doxygen36(/|$)(.*) - [L]
 
RewriteRule ^doxygen38(/|$)(.*) - [L]
 
RewriteRule ^doxygen40(/|$)(.*) - [L]
 
RewriteRule ^doxygen41(/|$)(.*) - [L]
 
RewriteRule ^coda(/|$)(.*) - [L]
 
RewriteRule ^octave(/|$)(.*) - [L]
 
RewriteRule ^octave\.old(/|$)(.*) - [L]
 
RewriteRule ^old_packages(/|$)(.*) - [L]
 
 
# webserver of sourceforge doesn't understand END rewrite rule flag,
 
# so we have to check for looping instead if necessary
 
 
# forbid direct access to packages directory
 
RewriteCond %{ENV:REDIRECT_STATUS} ^$
 
RewriteRule ^packages(/|$)(.*) - [F]
 
 
# paths in all other sudirectories are rewritten to be under directory
 
# "packages"
 
RewriteCond %{ENV:REDIRECT_STATUS} ^$
 
RewriteRule ^(.+/.*) /packages/$1 [L]
 
 
# FIXME: Trailing slash is not appended for (non-existing, to be
 
# re-written) package directories at top level. This should be cured
 
# in a better way than with the following.
 
RewriteCond %{ENV:REDIRECT_STATUS} ^$
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteRule ^(.+) /packages/$1/ [L]
 
 
  
 
<FilesMatch "\.(php|css)$">
 
<FilesMatch "\.(php|css)$">
Line 244: Line 208:
 
</ifModule>
 
</ifModule>
 
</FilesMatch>
 
</FilesMatch>
</pre>}}
+
</nowiki>
 
 
[[Category:Development]]
 

Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: