comp.lang.ada
 help / color / mirror / Atom feed
From: Darren Ingram <ingramd@aston.ac.uk>
Subject: Ada Web Server status page
Date: Tue, 18 Feb 2003 16:18:57 +0000
Date: 2003-02-18T16:18:57+00:00	[thread overview]
Message-ID: <3E525CF1.C74104E4@hotmail.com> (raw)

Hi

I am trying to get a status page to work within AWS (1.2).
I have my server setup as:
      AWS.Server.Start (Web_Server => WS,
                        Name       => "Status Test",
                        Port => Port, --from command line
                        Max_Connection => 10,
                        Admin_URI => "/status_page",
                        Callback   => status_cb'Access); --call back function

within the call back function i have just made the server return a valid html page when requested, else it returns a 'page not found' page.

When i run the program and request /status_page the program stops with a segmentation error - but works in other cases (eg requesting /index.html).  I have the aws_status.thtm and the .png files within the program directory.
Do i need something in the call back routine to handle the showing of the status page?

Thanks for any help
Darren



             reply	other threads:[~2003-02-18 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18 16:18 Darren Ingram [this message]
2003-02-18 16:54 ` Ada Web Server status page David Marceau
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox