I don't arrive to build static pages on errors http status codes 500, 503, 504 …
In fact, i would like generate a static page for all my http status codes but that not running
For example, in my chart i have this http status codes:
501 Not implemented
401 Unauthorized
403 Forbidden
Â
Therefore, in my conf file awstats.localhost.conf i have added
Â
ExtraSectionName1="Not implemented (501)"
ExtraSectionCodeFilter1="501"
ExtraSectionCondition1="URL,^.*$"
ExtraSectionFirstColumnTitle1="URL"
ExtraSectionFirstColumnValues1="URL,^(.*)$"
ExtraSectionFirstColumnFormat1="<A HREF='http://*%s'TARGET='_blank'>%s"
ExtraSectionStatTypes1=HBL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1Â
ExtraSectionName1="Unauthorized (401)"
ExtraSectionCodeFilter1="401"
ExtraSectionCondition1="URL,^.*$"
ExtraSectionFirstColumnTitle1="URL"
ExtraSectionFirstColumnValues1="URL,^(.*)$"
ExtraSectionFirstColumnFormat1="http://*%s'TARGET='_blank'" target="_blank">%s"
ExtraSectionStatTypes1=HBL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1Â
ExtraSectionName1="Forbidden (403)"
ExtraSectionCodeFilter1="403"
ExtraSectionCondition1="URL,^.*$"
ExtraSectionFirstColumnTitle1="URL"
ExtraSectionFirstColumnValues1="URL,^(.*)$"
ExtraSectionFirstColumnFormat1="http://*%s'TARGET='_blank'" target="_blank">%s"
ExtraSectionStatTypes1=HBL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1Â
I am not sure of myself for lines "ExtraSectionFirstColumnFormat1"
Â
Secondly,
I would like that http status codes 200 appear in the chart thus I change this line my file conf:
#ValidHTTPCodes="200 304"
by
ValidHTTPCodes=""
It's not correct because i don't see the http code status 200 in my chart