[mythtv-users] mythweb possible bug with .htaccess???
Phill Edwards
philledwards at gmail.com
Thu Apr 3 11:54:44 UTC 2008
On 03/04/2008, f-myth-users at media.mit.edu <f-myth-users at media.mit.edu> wrote:
> Sure, I'm interested...
OK - here's my mythweb.conf file which lives in /etc/httpd/conf.d on
my linux router/internet gateway:
# This httpd conf file allows a URL to be entered for gateway which redirects
# to Myth and serves up the MythWeb pages. This means that I can put in the
# URL to gateway over SSL, it will ask for a logon and then do a ProxyPass to
# Myth to serve the pages. So I enter https://mybox.homelinux.com/mythweb/ and
# it asks me for a logon then does a proxypass to mythweb on Myth and serves
# those pages under the https://mybox.homelinux.com/mythweb/ URL.
#
# PS - ProxyPassReverse rewrites the HTTP headers in the HTTP responses -
# see http://httpd.apache.org/docs/trunk/mod/mod_proxy.html#proxypass for
# more detail.
<Location "/mythweb">
ProxyPass http://myth.edwards.home/mythweb/
ProxyPassReverse http://myth.edwards.home/mythweb/
# If I ever get probs with cookies etc on this, have a look at
# http://httpd.apache.org/docs/trunk/mod/mod_proxy.html#proxypass for
# ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath
# To create the myth_htdigest file run this command:
# htdigest -c myth_htdigest MythTV mythtv
# Realm ---^ ^--- username
AuthType Digest
AuthName "MythTV"
AuthUserFile /var/www/myth_htdigest
Require valid-user
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
</Location>
More information about the mythtv-users
mailing list