[mythtv-users] Webmin is borked
Mark Adams
madams9 at gmail.com
Tue Aug 24 10:25:49 UTC 2010
On 08/24/2010 03:50 AM, Doug Lytle wrote:
> Mark Adams wrote:
>>
>> [Tue Aug 24 02:34:54 2010] [info] Server built: Aug 16 2010 06:19:58
>> [Tue Aug 24 02:34:58 2010] [error] [client 192.168.1.106] client
>> denied by server configuration: /var/www/mythweb/
>> [Tue Aug 24 02:35:02 2010] [error] [client 192.168.1.106] client
>> denied by server configuration: /var/www/mythweb
>
> Mark,
>
> You need to move your mythweb into the document root which is
> /var/www/html/
>
> I'm running Mandriva 2010.0 on my Myth server as well.
>
> You also need to copy from the mythplugins/mythweb folder the file
> mythweb.conf.apache and move it into the /etc/httpd/conf.d directory
> and rename it to myweb.conf
>
> Edit it to your setup and restart apache.
>
> Doug
>
>
Okay thanks for the tip Doug.
I copied (recursively) my /var/www/mythweb directory to /var/www/html:
# ll /var/www/html
total 20
drwxr-xr-x 2 root root 4096 2010-03-18 11:45 addon-modules/
-rw-r--r-- 1 root root 1150 2010-01-07 05:13 favicon.ico
-rw-r--r-- 1 root root 215 2010-01-07 05:13 index.html
drwxr-xr-x 7 root root 4096 2010-08-24 04:01 mythweb/
I renamed /var/www/mythweb "/var/www/not-mythweb" just to be on the safe
side.
I then deleted and rebuilt the soft link to /var/lib/mythweb/data in the
mythweb directory.
Next, I copied /usr/share/doc/mythtv-mythweb/mythweb.conf.apache to
/etc/httpd/conf/myweb.conf.
I edited the <Directory "/var/www/html/data"> statement to read
<Directory "/var/www/html/mythweb">. I didn't really find anything else
that looked like it needed to be changed. Did I overlook something?
I then commented out any reference I had to mythweb in
/etc/httpd/conf/httpd.conf and restarted the httpd service.
I cleared my browser cache and reloaded the mythweb page:
Access forbidden!
You don't have permission to access the requested directory. There is
either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster
<mailto:root at shuttle>.
Error 403
pvr <http://pvr/>
Apache/2.2.14 (Mandriva Linux/PREFORK-1.5mdv2010.0)
Is there anything else I should have done because the error log
indicates I'm still hammering at /var/www/mythweb?!
# tail -n 1 /var/log/httpd/error_log
[Tue Aug 24 04:17:04 2010] [error] [client 192.168.1.106] client denied
by server configuration: /var/www/mythweb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100824/16152a8e/attachment.htm>
More information about the mythtv-users
mailing list