Project Infrastructure: Difference between revisions

Line 83: Line 83:
RewriteCond $1 !^(favicon.*)
RewriteCond $1 !^(favicon.*)
RewriteRule ^(.*)$ /wiki/index.php?title=$1
RewriteRule ^(.*)$ /wiki/index.php?title=$1
</nowiki>
=== hg.octave.org ===
This site hosts [http://hg.octave.org mercurial repos].
* [http://hg.octave.org/web-octave web-octave] (Alex and Kai's new web pages)
* [http://hg.octave.org/octave/gnulib-hg gnulib]
* mirror of master hg archive for [http://hg.octave.org/octave octave]
* [http://hg.octave.org/mxe-octave mxe-octave] (see [[MXE]])
* 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>
</nowiki>