aurweb/web/html
Lukas Fleischer eb22bcc754 Add routing front/back ends
This adds a URL mapping library that can be used to implement virtual
paths. Also, "web/html/index.php" is moved to "web/html/home.php" and
"web/html/index.php" becomes a routing front end that maps virtual paths
to corresponding files.

To enable the virtual path feature, all requests need to be redirected
to the "index.php" routing script. If you use lighttpd, following
rewrite rule can be used:

    url.rewrite = ( "^(.*)$" => "/index.php/$1" )

A similar rule can be used for Apache (using mod_rewrite).

Note that the current routing front end only works if PATH_INFO is
provided.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2012-07-15 18:16:26 +02:00
..
css Update archweb stylesheet 2012-07-09 13:10:35 +02:00
images titlelogo.png: Update again 2010-03-12 16:52:07 -05:00
account.php Merge branch 'maint' 2012-07-14 22:52:04 +02:00
addvote.php Merge branch 'maint' 2012-07-14 22:52:04 +02:00
home.php Add routing front/back ends 2012-07-15 18:16:26 +02:00
index.php Add routing front/back ends 2012-07-15 18:16:26 +02:00
login.php Move login form to a separate page 2012-07-06 11:26:38 +02:00
logout.php logout.php: Pull out DB code 2012-07-06 11:26:59 +02:00
packages.php Merge branch 'maint' 2012-07-14 22:52:04 +02:00
passreset.php passreset.php: Pull out DB code 2012-07-06 11:27:00 +02:00
pkgsubmit.php Merge branch 'maint' 2012-07-14 22:52:04 +02:00
rpc.php Provide more examples on the RPC info page 2011-08-22 08:24:21 +02:00
rss.php rss.php: Pull out DB code 2012-07-06 11:27:06 +02:00
tu.php Merge branch 'maint' 2012-07-14 22:52:04 +02:00
voters.php voters.php: Pull out DB code 2012-07-06 11:26:50 +02:00