Forum

Error Code 403

RJ
24 January 2012, 13:16
What should i return from a C language CGI application to get error code 403. Please help.
Hugo Leisink
24 January 2012, 13:27
A CGI header "Status: 403". To control if Hiawatha should catch this header or not, use the TriggerOnCGIstatus setting. See the manual page for more information.
RJ
24 January 2012, 14:01
In manual page, TriggerOnCGIstatus is mentioned in virtual host configuration setting. But i am not using virtual host configuration setting. And if i initialize TriggerOnCGIstatus = yes outside virtual host configuration setting then it not works for me.
Hugo Leisink
24 January 2012, 14:17
Have you tried the 8.0 beta already? In that version, the Status-header handling by Hiawatha has been improved.
This topic has been closed.