diff --git a/lighttpd/lighttpd.conf b/lighttpd/lighttpd.conf index 4bf5183..7598c9e 100644 --- a/lighttpd/lighttpd.conf +++ b/lighttpd/lighttpd.conf @@ -333,6 +333,11 @@ $HTTP["url"] =~ "\.pdf$" { #$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 --git a/lighttpd/modules.conf b/lighttpd/modules.conf index 2087947..b4cf170 100644 --- a/lighttpd/modules.conf +++ b/lighttpd/modules.conf @@ -46,7 +46,7 @@ server.modules = ( # "mod_alias", # "mod_auth", # "mod_evasive", -# "mod_redirect", + "mod_redirect", # "mod_rewrite", "mod_setenv", # "mod_usertrack", diff --git a/py/recorder.py b/py/recorder.py index 7c306df..b440a4e 100755 --- a/py/recorder.py +++ b/py/recorder.py @@ -34,9 +34,8 @@ for game in rlgall.gamelist: # 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 --git a/py/rlgall.py b/py/rlgall.py index 0bb125b..e54d6f2 100644 --- a/py/rlgall.py +++ b/py/rlgall.py @@ -45,7 +45,7 @@ tblend = '\n' pend = """
rlgallery.org Recent Games -High Scores +High Scores
""" diff --git a/web/about/arogue5.html b/web/about/arogue5.html index c03a184..8f35d8e 100644 --- a/web/about/arogue5.html +++ b/web/about/arogue5.html @@ -16,6 +16,6 @@ up and down levels.

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 --git a/web/about/index.html b/web/about/index.html index d1cd06d..19f1f73 100644 --- a/web/about/index.html +++ b/web/about/index.html @@ -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 --git a/web/about/rogue3.html b/web/about/rogue3.html index 345421a..925308d 100644 --- a/web/about/rogue3.html +++ b/web/about/rogue3.html @@ -15,6 +15,6 @@ and distributed with BSD. This was the first widely-played version of Rogue.

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 --git a/web/about/rogue4.html b/web/about/rogue4.html index c02bd00..eb9717b 100644 --- a/web/about/rogue4.html +++ b/web/about/rogue4.html @@ -15,6 +15,6 @@ and distributed with BSD. It is called V4 because it has more in common with the

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 --git a/web/about/rogue5.html b/web/about/rogue5.html index 1ad7761..c98f159 100644 --- a/web/about/rogue5.html +++ b/web/about/rogue5.html @@ -15,6 +15,6 @@ created for Unix.

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 --git a/web/about/srogue.html b/web/about/srogue.html index b77d5db..8b74f87 100644 --- a/web/about/srogue.html +++ b/web/about/srogue.html @@ -16,6 +16,6 @@ final version, numbered 9.0, was completed in 1984.

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 --git a/web/about/ttyrec.html b/web/about/ttyrec.html index adde474..12e6e09 100644 --- a/web/about/ttyrec.html +++ b/web/about/ttyrec.html @@ -25,6 +25,6 @@ wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell <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 --git a/web/download.html b/web/download.html index 4d3189b..0cfd3d8 100644 --- a/web/download.html +++ b/web/download.html @@ -25,6 +25,6 @@ free MacBook and $100 for an Apple Developer account.

Bugs?

If you find any problems, report them on Bitbucket.

-
rlgallery.org Recent Games High Scores
+
rlgallery.org Recent Games High Scores
diff --git a/web/index.html b/web/index.html index b463011..970bf2b 100644 --- a/web/index.html +++ b/web/index.html @@ -36,6 +36,6 @@ of historical roguelikes is being restored and made available for play on this s

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 --git a/web/scoring/index.html b/web/scoring/index.html index 58f2d47..99d9fc2 100644 --- a/web/scoring/index.html +++ b/web/scoring/index.html @@ -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