avahi: do not announce a specific front page
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 20 Apr 2012 15:07:58 +0000 (15:07 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 20 Apr 2012 15:07:58 +0000 (15:07 +0000)
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 <mhei@heimpold.de>
SVN-Revision: 31375

libs/avahi/files/service-http

index 8e0d3a5136b8b7eee6c9104c2f1dc98518b0533b..7e9be2d424d2697e493efc0272f2e0247d9a3592 100644 (file)
@@ -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>