[Klone-users] 404-page implementation

Steven Van Ingelgem steven at vaningelgem.be
Mon Jun 29 09:20:48 EDT 2009


Thanks. I expected it to be error.404 etc ;)

2009/6/29 Mickael Auger <mickael.auger at gmail.com>

> Hi Steven,
>
> you can modify your "etc/kloned.conf" file such as :
>
> ======================================
> server_list    app_http
> app_http
> {
>     type            http
>     addr.type       IPv4
>     addr.port       8081
>     dir_root        /www
>
>     error
>     {
>             400                        /my400error.html
>             404                        /my404error.html
>             500                        /my500error.html
>             ...
>     }
> }
> ======================================
>
> PS : the GET variable in URL is not supported (ex: myerror.html?err=404).
>
> Bye.
>
> 2009/6/29 Steven Van Ingelgem <steven at vaningelgem.be>
>
>> Hi,
>>
>>
>> How can I implement a 404 (and all those other errors) pages?
>>
>>
>> Thanks,
>> Steven
>>
>> _______________________________________________
>> Klone-users mailing list
>> Klone-users at koanlogic.com
>> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>>
>>
>
>
> --
> Mickaël AUGER
>
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20090629/bade893d/attachment.html


More information about the klone-users mailing list