Good Afternoon!

Here's the cgi code to redirect a page:

#!exu

-- cgi3.exu

object now
 now = date()

 puts(1,"Status: 302\n")
 if now[4] < 12 then
    puts(1,"Location: /morning.html")
 elsif now[4] <18 then
    puts(1,"Location: /afternoon.html")
 else
    puts(1,"Location: /evening.html")
 end if