On Jan 24, 2008 12:27 PM, Joe Ripley <<a href="mailto:vitaminjoe@gmail.com">vitaminjoe@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Jan 24, 2008 11:17 AM, Mitch Gore <<a href="mailto:mitchell.gore@gmail.com">mitchell.gore@gmail.com</a>> wrote:<br>> Hi,<br>><br>> I just rebuilt my system on a new drive. I backed-up up my database and put
<br>> it back in mysql. I installed atrpms-bleeding packages. When i start<br>> mythbackend I can see it working just fine. But when hitting mythweb i get<br>> this:<br>><br>> The database environment variables are not correctly set in the
<br>> webserver conf or .htaccess file. Please read through the comments<br>> included in the file and set up the db_* environment variables correctly.<br>><br>> Some possible solutions are to make sure that mod_env is enabled
<br>> in httpd.conf, as well as having followed the instructions in the<br>> README and INSTALL files.<br><br></div>Make sure that you have the following lines in your Apache's virtual<br>host configuration for mythweb:
<br><br> setenv db_server "localhost"<br> setenv db_name "mythconverg"<br> setenv db_login "mythtv"<br> setenv db_password "mythtv"
<br><br>( <a href="http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweb/mythweb.conf.apache#L60" target="_blank">http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweb/mythweb.conf.apache#L60</a><br>)<br><div class="Ih2E3d">
<br>> Also when i got to my local IP/mythweb i get a directory listing instead of<br>> viewing mythweb.php . Is php not enabled somehow?<br><br></div>You have to make sure that the '.php' extension has a handler set up.
<br>(i.e. AddType application/x-httpd-php .php)<br><font color="#888888"><br>--<br>Joe Ripley<br><a href="mailto:vitaminjoe@gmail.com">vitaminjoe@gmail.com</a><br>_______________________________________________<br>mythtv-users mailing list
<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</font></blockquote></div><br><br>Ok, i got it.<br><br>For some reason the RPM's did not set up the /etc/httpd/conf.d/mythweb.conf correctly.<br><br>I did 'mv /var/www/html/mythweb/mythweb.conf.apache /etc/httpd/conf.d/mythweb.conf' then reconfigured /etc/httpd/conf.d/mythweb.conf and it worked.
<br><br>Thanks!<br>