On Jan 24, 2008 12:27 PM, Joe Ripley &lt;<a href="mailto:vitaminjoe@gmail.com">vitaminjoe@gmail.com</a>&gt; 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 &lt;<a href="mailto:mitchell.gore@gmail.com">mitchell.gore@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I just rebuilt my system on a new drive. &nbsp;I backed-up up my database and put
<br>&gt; it back in mysql. &nbsp;I installed atrpms-bleeding packages. &nbsp;When i start<br>&gt; mythbackend I can see it working just fine. &nbsp;But when hitting mythweb i get<br>&gt; this:<br>&gt;<br>&gt; &nbsp;The database environment variables are not correctly set in the
<br>&gt; &nbsp;webserver conf or .htaccess file. Please read through the comments<br>&gt; &nbsp;included in the file and set up the db_* environment variables correctly.<br>&gt;<br>&gt; &nbsp;Some possible solutions are to make sure that mod_env is enabled
<br>&gt; &nbsp;in httpd.conf, as well as having followed the instructions in the<br>&gt; &nbsp;README and INSTALL files.<br><br></div>Make sure that you have the following lines in your Apache&#39;s virtual<br>host configuration for mythweb:
<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;setenv db_server &nbsp; &nbsp; &nbsp; &nbsp;&quot;localhost&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;setenv db_name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;mythconverg&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;setenv db_login &nbsp; &nbsp; &nbsp; &nbsp; &quot;mythtv&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;setenv db_password &nbsp; &nbsp; &nbsp;&quot;mythtv&quot;
<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>&gt; Also when i got to my local IP/mythweb i get a directory listing instead of<br>&gt; viewing mythweb.php . &nbsp;Is php not enabled somehow?<br><br></div>You have to make sure that the &#39;.php&#39; 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&#39;s did not set up the /etc/httpd/conf.d/mythweb.conf correctly.<br><br>I did &#39;mv /var/www/html/mythweb/mythweb.conf.apache /etc/httpd/conf.d/mythweb.conf&#39; then reconfigured /etc/httpd/conf.d/mythweb.conf and it worked.&nbsp; 
<br><br>Thanks!<br>