Custom Error Handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux