Remove the static high score page.
Don't create it, change all links, and redirect any requests.
This commit is contained in:
parent
d34e211a3f
commit
dfd8098844
14 changed files with 20 additions and 16 deletions
|
|
@ -333,6 +333,11 @@ $HTTP["url"] =~ "\.pdf$" {
|
||||||
#$HTTP["host"] =~ "^www\.(.*)" {
|
#$HTTP["host"] =~ "^www\.(.*)" {
|
||||||
# url.redirect = ( "^/(.*)" => "http://%1/$1" )
|
# url.redirect = ( "^/(.*)" => "http://%1/$1" )
|
||||||
#}
|
#}
|
||||||
|
$HTTP["host"] =~ "^(.*)$" {
|
||||||
|
url.redirect = (
|
||||||
|
"^/scoring/highscores.html" => "http://%1/scoring/high.cgi?l=40"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
## which extensions should not be handle via static-file transfer
|
## which extensions should not be handle via static-file transfer
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ server.modules = (
|
||||||
# "mod_alias",
|
# "mod_alias",
|
||||||
# "mod_auth",
|
# "mod_auth",
|
||||||
# "mod_evasive",
|
# "mod_evasive",
|
||||||
# "mod_redirect",
|
"mod_redirect",
|
||||||
# "mod_rewrite",
|
# "mod_rewrite",
|
||||||
"mod_setenv",
|
"mod_setenv",
|
||||||
# "mod_usertrack",
|
# "mod_usertrack",
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,8 @@ for game in rlgall.gamelist:
|
||||||
|
|
||||||
# All the databases have been updated. Now make the pages.
|
# All the databases have been updated. Now make the pages.
|
||||||
|
|
||||||
# Currently the high scores for all the games are on the same page. If
|
# The high page has been replaced with a CGI script.
|
||||||
# they split up, this will have to change to a Game method.
|
#rlgall.highpage()
|
||||||
rlgall.highpage()
|
|
||||||
|
|
||||||
for name in updatenames:
|
for name in updatenames:
|
||||||
rlgall.playerpage(name)
|
rlgall.playerpage(name)
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ tblend = '</div>\n'
|
||||||
pend = """<div class="foot">
|
pend = """<div class="foot">
|
||||||
<a href="/">rlgallery.org</a>
|
<a href="/">rlgallery.org</a>
|
||||||
<a href="/recent.cgi">Recent Games</a>
|
<a href="/recent.cgi">Recent Games</a>
|
||||||
<a href="/scoring/highscores.html">High Scores</a>
|
<a href="/scoring/high.cgi">High Scores</a>
|
||||||
</div>
|
</div>
|
||||||
</body></html>
|
</body></html>
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@ up and down levels.</p>
|
||||||
<p>The <a href="http://rogue.rogueforge.net/">Roguelike Restoration Project</a> updated the game to run on modern systems.</p>
|
<p>The <a href="http://rogue.rogueforge.net/">Roguelike Restoration Project</a> updated the game to run on modern systems.</p>
|
||||||
<p>The Roguelike Gallery's version contains a few more bugfixes. <a href="/download.html">Download it here.</a></p>
|
<p>The Roguelike Gallery's version contains a few more bugfixes. <a href="/download.html">Download it here.</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,6 @@
|
||||||
data is stored using <a href="http://www.postgresql.org/">PostgreSQL</a>.</p>
|
data is stored using <a href="http://www.postgresql.org/">PostgreSQL</a>.</p>
|
||||||
<p>The Web player was created with <a href="http://nodejs.org/">node.js</a>.</p>
|
<p>The Web player was created with <a href="http://nodejs.org/">node.js</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,6 @@ and distributed with BSD. This was the first widely-played version of Rogue.</p>
|
||||||
<p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
|
<p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
|
||||||
<p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
|
<p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,6 @@ and distributed with BSD. It is called V4 because it has more in common with the
|
||||||
<p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
|
<p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
|
||||||
<p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
|
<p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,6 @@ created for Unix.</p>
|
||||||
<p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
|
<p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
|
||||||
<p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
|
<p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@ final version, numbered 9.0, was completed in 1984.</p>
|
||||||
<p>The Roguelike Gallery modified Super-Rogue to work with rlgallery.org's system, fixed a few bugs which made winning easy, and added support for the arrow keys.</p>
|
<p>The Roguelike Gallery modified Super-Rogue to work with rlgallery.org's system, fixed a few bugs which made winning easy, and added support for the arrow keys.</p>
|
||||||
<p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
|
<p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,6 @@ wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell
|
||||||
<span class="metavar"><escape></span>[1;<span class="metavar"><number of rows></span>r )</p>
|
<span class="metavar"><escape></span>[1;<span class="metavar"><number of rows></span>r )</p>
|
||||||
<p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
|
<p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,6 @@ free MacBook and $100 for an Apple Developer account.</p>
|
||||||
<h2>Bugs?</h2>
|
<h2>Bugs?</h2>
|
||||||
<p>If you find any problems, report them on <a href="https://bitbucket.org/ElwinR/rl/issues">Bitbucket</a>.</p>
|
<p>If you find any problems, report them on <a href="https://bitbucket.org/ElwinR/rl/issues">Bitbucket</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,6 @@ of historical roguelikes is being restored and made available for play on this s
|
||||||
<p><strong>Feb. 2, 2012</strong>: Everything should be recovered from the failed upgrade. Please report any problems.</p>
|
<p><strong>Feb. 2, 2012</strong>: Everything should be recovered from the failed upgrade. Please report any problems.</p>
|
||||||
<p><strong>Feb. 4, 2011</strong>: Some updates to the website. The <a href="/archive.cgi">ttyrec finder</a> is now usable.</p>
|
<p><strong>Feb. 4, 2011</strong>: Some updates to the website. The <a href="/archive.cgi">ttyrec finder</a> is now usable.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,10 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>The Guild keeps a record of all brave Rogues who venture into the Dungeons of Doom.</p>
|
<p>The Guild keeps a record of all brave Rogues who venture into the Dungeons of Doom.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./highscores.html">High Scores</a></li>
|
<li><a href="./high.cgi">High Scores</a></li>
|
||||||
<li><a href="./players/">Explorers</a></li>
|
<li><a href="./players/">Explorers</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
|
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue