My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.

Monday, September 29, 2008

Redirecting / to /mythweb

Minor tweak to make connections to http://host/ on my mythweb host redirect automatically to mythweb. Add the following to the beginning of /etc/apache2/sites-enabled/mythweb.conf (before the Directory declaration):

RedirectMatch ^/$ /mythweb/


And restart Apache:

# /etc/init.d/apache2 reload

No comments: