Something seems not to be correct:<br><br>steven@debian:~/kl$ ./kloned -F -d<br>  server_list  Salvania test<br>  allow_root  yes<br>  log<br>    type  syslog<br>    syslog<br>      facility  LOG_DAEMON<br>  Salvania<br>    type  http<br>

    addr<br>      type  IPv4<br>      port  8080<br>    dir_root  /www<br>  test<br>    type  http<br>    addr<br>      type  IPv4<br>      port  8181<br>    dir_root  /www2<br>    error<br>      404  /index.html<br><br>
<br>
But:<br>steven@debian:/tmp$ wget -O- <a href="http://localhost:8181/indsqdlk">http://localhost:8181/indsqdlk</a><br>--2009-06-29 15:21:07--  <a href="http://localhost:8181/indsqdlk">http://localhost:8181/indsqdlk</a><br>
Resolving localhost... 127.0.0.1, ::1<br>
Connecting to localhost|127.0.0.1|:8181... connected.<br>HTTP request sent, awaiting response... <b>404 Not Found</b><br>2009-06-29 15:21:07 ERROR 404: Not Found.<br><br>steven@debian:/tmp$ wget -O- <a href="http://localhost:8181/index.html">http://localhost:8181/index.html</a><br>

--2009-06-29 15:21:45--  <a href="http://localhost:8181/index.html">http://localhost:8181/index.html</a><br>Resolving localhost... 127.0.0.1, ::1<br>Connecting to localhost|127.0.0.1|:8181... connected.<br>HTTP request sent, awaiting response... <b>200 OK</b><br>

Length: 6 [text/html]<br>Saving to: `STDOUT&#39;<br><br> 0% [                                                                       ] 0           --.-K/s              <b>BOEBA</b><br>100%[======================================================================&gt;] 6           --.-K/s   in 0s<br>

<br>2009-06-29 15:21:45 (499 KB/s) - `-&#39; saved [6/6]<br><br><br>I would expect a same page being downloaded... Or is that my misunderstanding?<br><br><br><br><div class="gmail_quote">2009/6/29 Mickael Auger <span dir="ltr">&lt;<a href="mailto:mickael.auger@gmail.com">mickael.auger@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Steven,<br><br>you can modify your &quot;etc/kloned.conf&quot; file such as :<br><br>======================================<br>

server_list    app_http<br>app_http<br>{<br>    type            http<br>    addr.type       IPv4<br>

    addr.port       8081<br>    dir_root        /www<br>    <br>    error<br>    {<br>            400                        /my400error.html<br>            404                        /my404error.html<br>            500                        /my500error.html<br>



            ...<br>    }<br>}<br>======================================<br><br>PS : the GET variable in URL is not supported (ex: myerror.html?err=404).<br><br>Bye.<br><br><div class="gmail_quote">2009/6/29 Steven Van Ingelgem <span dir="ltr">&lt;<a href="mailto:steven@vaningelgem.be" target="_blank">steven@vaningelgem.be</a>&gt;</span><br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi,<br><br><br>How can I implement a 404 (and all those other errors) pages?<br>

<br><br>Thanks,<br>

<font color="#888888">Steven<br>
</font><br></div></div>_______________________________________________<br>
Klone-users mailing list<br>
<a href="mailto:Klone-users@koanlogic.com" target="_blank">Klone-users@koanlogic.com</a><br>
<a href="http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users" target="_blank">http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Mickaël AUGER<br><br>
</font><br>_______________________________________________<br>
Klone-users mailing list<br>
<a href="mailto:Klone-users@koanlogic.com">Klone-users@koanlogic.com</a><br>
<a href="http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users" target="_blank">http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users</a><br>
<br></blockquote></div><br>