# HG changeset patch # User John "Elwin" Edwards # Date 1388772149 18000 # Node ID 09ef92dc443982799bed0c3f69a58ad0872e3c1c # Parent 6592cdd1fceb7c012d92c2c8a71e8596ea5a7b5d Remove the static high score page. Don't create it, change all links, and redirect any requests. diff -r 6592cdd1fceb -r 09ef92dc4439 lighttpd/lighttpd.conf --- a/lighttpd/lighttpd.conf Fri Jan 03 11:11:07 2014 -0500 +++ b/lighttpd/lighttpd.conf Fri Jan 03 13:02:29 2014 -0500 @@ -333,6 +333,11 @@ #$HTTP["host"] =~ "^www\.(.*)" { # 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 diff -r 6592cdd1fceb -r 09ef92dc4439 lighttpd/modules.conf --- a/lighttpd/modules.conf Fri Jan 03 11:11:07 2014 -0500 +++ b/lighttpd/modules.conf Fri Jan 03 13:02:29 2014 -0500 @@ -46,7 +46,7 @@ # "mod_alias", # "mod_auth", # "mod_evasive", -# "mod_redirect", + "mod_redirect", # "mod_rewrite", "mod_setenv", # "mod_usertrack", diff -r 6592cdd1fceb -r 09ef92dc4439 py/recorder.py --- a/py/recorder.py Fri Jan 03 11:11:07 2014 -0500 +++ b/py/recorder.py Fri Jan 03 13:02:29 2014 -0500 @@ -34,9 +34,8 @@ # All the databases have been updated. Now make the pages. -# Currently the high scores for all the games are on the same page. If -# they split up, this will have to change to a Game method. -rlgall.highpage() +# The high page has been replaced with a CGI script. +#rlgall.highpage() for name in updatenames: rlgall.playerpage(name) diff -r 6592cdd1fceb -r 09ef92dc4439 py/rlgall.py --- a/py/rlgall.py Fri Jan 03 11:11:07 2014 -0500 +++ b/py/rlgall.py Fri Jan 03 13:02:29 2014 -0500 @@ -45,7 +45,7 @@ pend = """
rlgallery.org Recent Games -High Scores +High Scores
""" diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/arogue5.html --- a/web/about/arogue5.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/arogue5.html Fri Jan 03 13:02:29 2014 -0500 @@ -16,6 +16,6 @@

The Roguelike Restoration Project updated the game to run on modern systems.

The Roguelike Gallery's version contains a few more bugfixes. Download it here.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/index.html --- a/web/about/index.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/index.html Fri Jan 03 13:02:29 2014 -0500 @@ -28,6 +28,6 @@ data is stored using PostgreSQL.

The Web player was created with node.js.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/rogue3.html --- a/web/about/rogue3.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/rogue3.html Fri Jan 03 13:02:29 2014 -0500 @@ -15,6 +15,6 @@

The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.

The source code can be downloaded.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/rogue4.html --- a/web/about/rogue4.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/rogue4.html Fri Jan 03 13:02:29 2014 -0500 @@ -15,6 +15,6 @@

The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.

The source code can be downloaded.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/rogue5.html --- a/web/about/rogue5.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/rogue5.html Fri Jan 03 13:02:29 2014 -0500 @@ -15,6 +15,6 @@

The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.

The source code is available for download.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/srogue.html --- a/web/about/srogue.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/srogue.html Fri Jan 03 13:02:29 2014 -0500 @@ -16,6 +16,6 @@

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.

The source code is available for download.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/about/ttyrec.html --- a/web/about/ttyrec.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/about/ttyrec.html Fri Jan 03 13:02:29 2014 -0500 @@ -25,6 +25,6 @@ <escape>[1;<number of rows>r )

Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/download.html --- a/web/download.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/download.html Fri Jan 03 13:02:29 2014 -0500 @@ -25,6 +25,6 @@

Bugs?

If you find any problems, report them on Bitbucket.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/index.html --- a/web/index.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/index.html Fri Jan 03 13:02:29 2014 -0500 @@ -36,6 +36,6 @@

Feb. 2, 2012: Everything should be recovered from the failed upgrade. Please report any problems.

Feb. 4, 2011: Some updates to the website. The ttyrec finder is now usable.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff -r 6592cdd1fceb -r 09ef92dc4439 web/scoring/index.html --- a/web/scoring/index.html Fri Jan 03 11:11:07 2014 -0500 +++ b/web/scoring/index.html Fri Jan 03 13:02:29 2014 -0500 @@ -11,10 +11,10 @@

The Guild keeps a record of all brave Rogues who venture into the Dungeons of Doom.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores