All pastes #632077 Raw Edit

Someone

public text v1 · immutable
#632077 ·published 2007-07-24 16:00 UTC
rendered paste body
#
# .htaccess file for MythWeb.  Please read the descriptive comments for help
# using these directives in your own setup.  If you so desire (and for a small
# increase in efficiency, you can put this entire block into the apache config
# for your MythWeb host configuration).
#
# See http://www.mythtv.org/ for information about MythTV itself.
#
# @url       $URL$
# @date      $Date: 2006-06-28 20:33:11 +0200 (mer, 28 jun 2006) $
# @version   $Revision: 10338 $
# @author    $Author: xris $
#

#
# I *strongly* urge you to turn on authentication for MythWeb.  It is disabled
# by default because it requires you to set up your own password file.  Please
# see the man page for htdigest and then configure the folowing four directives
# to suit your authentication needs.
#
#    AuthType           Digest
#    AuthName           "MythTV"
#    AuthDigestFile       /var/www/htdigest
#    Require            valid-user
#    BrowserMatch       "MSIE"      AuthDigestEnableQueryStringHack=On
#
#  * If you're running Apache earlier than 2.2, you will need to use
#    AuthDigestFile instead of AuthUserFile.

# MythTV now uses the correct file suffix for mpeg files, so all .nuv files
# should actually be NuppleVideo.  However, apache probably doesn't know what
# those are, so we should tell it.
    AddType video/nuppelvideo   .nuv

# Specify the MIME type for favicon.ico in case the server configuration
# doesn't or in case the server configuration uses the IANA-approved MIME type
# (image/vnd.microsoft.icon)--which most browsers won't recognize.
    AddType image/x-icon        .ico

# Some special instructions for the PHP files of MythWeb.
    <Files mythweb.*>

    #
    # Use the following environment settings to tell MythWeb where you want it to
    # look to connect to the database, the name of the database to connect to, and
    # the authentication info to use to connect.  The defaults will usually work
    # fine unless you've changed mythtv's mysql.txt file, or are running MythWeb on
    # a different server from your main backend.  Make sure you have mod_env enabled.
    #
        setenv db_server        "192.168.1.10"

^G Get Help               ^O WriteOut               ^R Read File              ^Y Prev Page              ^K Cut Text               ^C Cur Pos
^X Exit                   ^J Justify                ^W Where Is               ^V Next Page              ^U UnCut Text             ^T To Spell