httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Wilson" <awil...@icetrak.net>
Subject [users@httpd] Custom Error Handling
Date Mon, 15 Jun 2009 11:22:13 GMT
Hi,
 
I'm trying to get httpd to return a custom error code via a CGI, eg if the
client makes a connection to test.cgi (which is a valid URI) but the
parameters, POST data or some other aspect of the interaction is incorrect I
want to return a different error code from the standard 200, eg  "Status:
303 You've not included valid data"
 
Is this possible and if so, what part of Apache do I need to change ?
 
Hope the request makes sense !
 
Thx in advance,
 
Alan
 
Alan Wilson
Icetrak Ltd | v:08454560561 | f:08708895005 | e:awilson@icetrak.net
 

Mime
View raw message