Add new url_server utility function and make use of it
commita4b6378eb2511a53aa87290afe096f22d1f55480
authorKyle J. McKay <mackyle@gmail.com>
Mon, 27 Jan 2014 06:13:19 +0000 (26 22:13 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 27 Jan 2014 06:13:19 +0000 (26 22:13 -0800)
tree87c4a43d227e8a699da3c88b0ebc13a235bfb298
parent0711be360787e60650449a427a43272afbaf45c8
Add new url_server utility function and make use of it

The url_server function replaces the scheme, host and port of
URL with the current CGI connection's values.

The html.cgi templating engine now supports this with @@server(...)@@.

The rootcert.html page now makes use of this to display the root
certificate's URL properly.
Girocco/Util.pm
cgi/html.cgi
html/rootcert.html