Having the IP resolve to the dns servers assigned to the box.  Make sure
apache is configured to use the .php page extensions.

Jeremy

-----Original Message-----
From: Paulo Jorge de Oliveira Cantante de Matos
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 11:02 AM
To: [EMAIL PROTECTED]
Subject: [gentoo-user] Configuring phppgadmin with conf.d/apache2


Hi all,

I installed phppgadmin and then I added postgresql to default runlevel
and apache2 too. In conf.d/apache2 I have uncommented the line:
APACHE2_OPTS="-D SSL -D PHP4"

(I added -D PHP4). However when I go to
http://localhost/phppgadmin/index.php I get:
<?php

        /**
         * Main access point to the app.
         *
         * $Id: index.php,v 1.6 2003/04/23 06:34:30 chriskl Exp $
         */

        // Include application functions
        include_once('libraries/lib.inc.php');

        $misc->printHeader();
?>
<frameset rows="50, *">
        <frame src="topbar.php" name="topbar" scrolling="no" noresize="noresize" />
        <frameset cols="<?php echo $conf['left_width'] ?>,*">
          <frame src="browser.php" name="browser" />
          <frame src="intro.php" name="detail" />
        </frameset>
        <noframes>
        <body>
                <?php echo $lang['strnoframes'] ?>
        </body>
        </noframes>
</frameset>
<?php
        $misc->printFooter(false);
?>

Any ideas on how to solve this issue?

Just another thing, when I start apache2 I get:
descartes conf.d # ../init.d/apache2 start
 * Starting apache2...
apache2: Could not determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName


How can I start it silently without that line, how can I make him determine
correctly the servers fully qualified name?

Best regards,

Paulo J. Matos


--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list

Reply via email to