# HG changeset patch # User Aleksej Bobylev # Date 1430231169 -10800 # Node ID d2503952845c4dced0aefe2cb97dd60a6bc46bee # Parent ac769de6c7c11cec388be757d812b25c9bb93cdb busybox: fix using 404 (not found) page; show URL in the page. diff -r ac769de6c7c1 -r d2503952845c busybox/stuff/applications/httpd.desktop --- a/busybox/stuff/applications/httpd.desktop Tue Apr 28 10:50:53 2015 +0200 +++ b/busybox/stuff/applications/httpd.desktop Tue Apr 28 17:26:09 2015 +0300 @@ -5,5 +5,5 @@ Name[pt_BR]=Servidor Web local Name[ru]=Локальный веб-сервер Exec=browser http://localhost/ -Icon=text-html +Icon=network-server Categories=Network; diff -r ac769de6c7c1 -r d2503952845c busybox/stuff/httpd.conf --- a/busybox/stuff/httpd.conf Tue Apr 28 10:50:53 2015 +0200 +++ b/busybox/stuff/httpd.conf Tue Apr 28 17:26:09 2015 +0300 @@ -7,10 +7,10 @@ A:192.168. # File to open by default. -#I:index.html +#I:index.html # Path to the 404 error page. -E404:/httpd/404.html +E404:/var/www/httpd/404.html # Require user root on urls starting with /adm/. use passwd system db /adm:root:* diff -r ac769de6c7c1 -r d2503952845c busybox/stuff/www/httpd/404.html --- a/busybox/stuff/www/httpd/404.html Tue Apr 28 10:50:53 2015 +0200 +++ b/busybox/stuff/www/httpd/404.html Tue Apr 28 17:26:09 2015 +0300 @@ -1,28 +1,32 @@ - + + 404 Not Found - - + - - +
-

404 Not Found

+

Not Found

+ +

The requested URL was not found on this server.

- - + + +