Announcing /index.html as frontpage is right when luci or x-wrt is installed
as web gui since both applications come with an /index.html which redirect 
afterwards.

However, when using an other front page, e.g. an /index.php then the 
announcement
is wrong and results in a 404 Not Found.
So I wonder/suggest whether the default avahi service could not announce
such a specific frontpage but only the generic "top level" directory.

Signed-off-by: Michael Heimpold <m...@heimpold.de>

Index: libs/avahi/files/service-http
===================================================================
--- libs/avahi/files/service-http   (revision 31314)
+++ libs/avahi/files/service-http   (working copy)
@@ -5,6 +5,6 @@
   <service>
    <type>_http._tcp</type>
    <port>80</port>
-   <txt-record>path=/index.html</txt-record>
+   <txt-record>path=/</txt-record>
   </service>
 </service-group>


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to