Request to change /var/www/mythweb/index.html

Asked by LarryJ on 2008-08-21

At least two of us think that the default /var/www/mythweb/index.html could be changed to be more helpful.

I wonder if index.html could be changed in future editions of mythbuntu to something like the suggestion contained in the discussion found here:

http://ubuntuforums.org/showthread.php?p=5636100#post5636100

Larry

Question information

Language:
English Edit question
Status:
Answered
For:
Mythbuntu Edit question
Assignee:
No assignee Edit question
Last query:
2008-08-21
Last reply:
2008-09-04
MarcRandolph (mrand) said : #1

It is certainly possible. I converted this to an Enhancement/wishlist bug so it can be tracked for possible inclusion in a future release.

LarryJ (larry-foxgulch) said : #2

MarcRandolph wrote:
> Bug #260126 status changed in Mythbuntu:
>
> New => Confirmed
>
> Status change explanation given by MarcRandolph:
>
> -------------------------- Forum post suggests index.html have
> something like the following:
>
> The apache2 html server is running!
> To access mythweb, try http://192.168.1.106/mythweb/mythweb.php
>
> --------------------------
> This sounds like a good idea to me. It could be argued that some users might want to hide the fact that mythweb is installed, but if that is the case, they could simply edit index.html. He has bigger problems than hiding mythweb if this is exposed to the internet (do we want to warn him about this here as well?)
> My only other comment is that we could add one more line to let the user quickly know where that file is located.
>
> This page is generated from /var/www/mythweb/index.html
>
> https://bugs.launchpad.net/mythbuntu/+bug/260126
> "Enhancement request: add link in index.html to mythweb"
>
> This bug is linked to #42795.
> Request to change /var/www/mythweb/index.html
> https://answers.launchpad.net/mythbuntu/+question/42795
>
> You received this question notification because you are a direct
> subscriber of the question.
>
>
Yes, a warning and the location of the file would be helpful. The
192.168.1.106 just happens to be the IP of my mythbuntu box . So that
will change depending on the LAN. Would it be possible query the
mc.sql database to see what the mythbuntu box master server IP is?
Maybe it's localhost, or as in my case, 192.168.1.106 then present that
in line perhaps like this?

To access mythweb, try http://[insert MC.SQL hostIP query result here]/mythweb/mythweb.php

Or perhaps
To access mythweb, try http://*mythbuntuServerIP*/mythweb/mythweb.php
where *mythbuntuServerIP* is obtained from within mythtv's myth backend setup ->1. General -> Master Backend -> IP address.

Or just do what you think is best! I've probably made this too complicated. {;-)

Larry

MarcRandolph (mrand) said : #3

That is on possibility. Or the .html file could provide a relative link rather than absolute, so just "mythweb/mythweb.php".

Can you help with this problem?

Provide an answer of your own, or ask LarryJ for more information if necessary.

To post a message you must log in.