bring MythWeb under control of virtualmin

I’m on an Ubuntu 10.04 Lucid Lynx system. I have the latest Virtualmin installed, and the latest MythTV.

I’ve set up MythWeb and I can reach it under http://localhost/mythweb
That looks for it /var/www/mythweb which is a link to /usr/share/mythtv/mythweb
I have a username and password assigned so I have to log in to reach it.

In virtualmin I have set up interplanetary.ca, which find it at /home/username/public_html/

I’m not sure why but a virtual server with an ip address of Any is set to look for things in /var/www instead of /home/username/public_html/
Is it safe to switch this to /home/username/public_html/ ?

How do I set up Mythweb to be reached from the web?

I tried creating a link from /home/username/public_html/mythweb/ to /usr/share/mythtv/mythweb but it says “Forbidden. You don’t have permission to access /mythweb/ on this server.” when I visit http://interplanetary.ca/mythweb/

My computer is given a hostname of home.interplanetary.ca
I’ve pointed that name on my registrar to my static ip address. However, I am not added home.interplanetary.ca under virtualmin. I presume it will currently pick it up under the Any virtual server.

How do I get http://home.interplanetary.ca/mythweb or http://interplanetary.ca/mythweb working (asking me for username and password)?

Howdy,

Well, you may be going against the grain there a bit…

Typically on Virtualmin, you’d want to setup a Virtual Server for any domain you’re serving on your system.

Also, suexec is going to be setup to work only under /home. That would prevent applications (including PHP scripts) from working unless they’re run out of /home.

One thing you can use to assist in troubleshooting would be to look in the Apache error_logs. If you have a Virtual Server setup, that would be in $HOME/logs/error_log. You can also look in /var/log/apache2/error_log for additional information.

-Eric

Sorry, I don’t understand you. Where I am going against the grain?
Is that in reference to it the virtual server set to look in /var/www for domains it doesn’t find in /home ?
That wasn’t my doing, and I certainly don’t want it to do that. That’s why I asked how to change it.

I assume that was the default created when I installed the ubuntu server image. Why doesn’t the virtualmin install script fix that?