Opened 13 years ago

Closed 13 years ago

#2794 closed defect (fixed)

Updated install docs for mythweb

Reported by: Robert Kulagowski Owned by: xris
Priority: minor Milestone: 0.21
Component: mythweb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Some edits: the copy command example in the expert section only copies a few files, like mythweb.php and the .pl file into /var/www/html, which isn't the intent, because it doesn't copy the actual mythweb directory.

the mv of the mythweb.conf.apache needs to have the trailing .apache removed in order for apache to look at it (the httpd.conf has an include, but it just does *.conf, so .apache doesn't match)

Also, some spelling changes.

Index: INSTALL
===================================================================
--- INSTALL     (revision 12241)
+++ INSTALL     (working copy)
@@ -35,7 +35,7 @@
 1.0 Requirements
 ================

-First of all, you need mythTV, which you should be able to track down at:
+First of all, you need MythTV, which you should be able to track down at:

     http://www.mythtv.org

@@ -81,11 +81,11 @@
 If you are not an expert, please skip to section 4.0.  Experts, the following
 commands should be enough for you to figure out what's going on:

-    cp mythplugins/mythweb/*.* /var/www/html/
+    cp -R mythplugins/mythweb/ /var/www/html/

     vi /var/www/html/mythweb.conf.apache

-    mv /var/www/html/mythweb.conf.apache /etc/httpd/conf.d/
+    mv /var/www/html/mythweb.conf.apache /etc/httpd/conf.d/mythweb.conf

     /etc/init.d/httpd restart

@@ -135,8 +135,7 @@
 Once you figure out where your copy of apache is looking for files, copy your
 mythweb files into that directory:

-    cd mythplugins/mythweb
-    cp *.* /wwww/htdocs/
+    cp -R mythplugins/mythweb/ /wwww/htdocs/

 ===============
 4.2 Permissions
@@ -231,7 +230,7 @@
 You will have to figure out the correct path on your own, but once you do, move
 the MythWeb config file into place like so:

-    mv mythweb.conf.apache /etc/apache2/conf.d/
+    mv mythweb.conf.apache /etc/apache2/conf.d/mythweb.conf

 ============
 6.0 Lighttpd
Index: README
===================================================================
--- README      (revision 12241)
+++ README      (working copy)
@@ -70,7 +70,7 @@

 Q: I want to access mythweb from the rest of the internet. How do I make it
     more secure?
-A: The included mythweb.conf.pache file contains commented-out apache controls
+A: The included mythweb.conf.apache file contains commented-out apache controls
     for enabling htdigest password authentication.  If you uncomment these, and
     create /var/www/htdigest (see `man htdigest` for details on how to do this),
     you will have some rudimentary password protection.  Combine this with

Change History (5)

comment:1 Changed 13 years ago by xris

Milestone: unknown0.21

Works a lot better if you attach the diff so trac can display it properly.

Anyway, I don't want the install to have people installing mythweb such that people have to go to http://mythtv.localdomain/mythweb/ when it's usually the only web app running on the box. The rest of this will get committed shortly.

comment:2 Changed 13 years ago by xris

Resolution: fixed
Status: newclosed

(In [12259]) Apply some of the documetnation changes from the patch to close #2794. Reasons for why the rest were left out are in the ticket.

comment:3 Changed 13 years ago by Robert Kulagowski

Resolution: fixed
Severity: mediumlow
Status: closedreopened
Type: patchdefect

SVN 12262:

In Section 5.1 of the INSTALL, there's an incomplete sentence:

"
There are other settings in this file, too, which should be fairly well
documented.  Please read through the
"

Not sure of the intent, so can't create a patch.

comment:4 Changed 13 years ago by Robert Kulagowski

Last Changed Rev: 12284

In section 5.0, you state:

MythWeb relies on four apache modules that are generally either built in or
enabled by default:

    mod_env
    mod_rewrite

but then you only list two modules. Later on it says that mod_deflate and mod_headers are disabled but you're encouraged to enable them. Pedantically, it's not correlating: MythWeb either relies on all four, or just the two.

(And if pedantics are the worst that I can find, then that's pretty good.)

comment:5 Changed 13 years ago by xris

Resolution: fixed
Status: reopenedclosed

odd. commit message in [12289] didn't auto-close this.

Note: See TracTickets for help on using tickets.