From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7b06e13d4d7542d1,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-18 08:20:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!server1.netnews.ja.net!aston!not-for-mail From: Darren Ingram Newsgroups: comp.lang.ada Subject: Ada Web Server status page Date: Tue, 18 Feb 2003 16:18:57 +0000 Organization: Aston University Message-ID: <3E525CF1.C74104E4@hotmail.com> NNTP-Posting-Host: csproject4.aston.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: wotsit.aston.ac.uk 1045585138 8085 134.151.53.144 (18 Feb 2003 16:18:58 GMT) X-Complaints-To: usenet@aston.ac.uk NNTP-Posting-Date: Tue, 18 Feb 2003 16:18:58 +0000 (UTC) X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:34198 Date: 2003-02-18T16:18:57+00:00 List-Id: 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