------------
Odontolinux!
------------
by Gaetano Paolone and Roberto Kaitsas
<bigpaul @ debian.org> <robk @ robk.org>

You can access Odontolinux! web pages by pointing
your browser to the file odontolinux/index.php of
your Web server Document Root.
In most cases http://127.0.0.1/odontolinux/index.php
should work. http://servername/odontolinux/index.php
should work as well; remember to substitute servername
with the name of the server (/etc/hostname).
If you have Virtual hosts on your machine, remember
to create a new one for odontolinux. The DocumentRoot
for the virtual host should be /var/www/odontolinux.

Before accessing Odontolinux! web pages you should
check all of the following items:

1) Your /etc/postgresql/pg_hba.conf must have this line:

   host         all         127.0.0.1     255.255.255.255   trust

2) You have to enable TCP/IP access
   in /etc/postgresql/posgresql.conf:

   # TCP/IP access is allowed by default, but the default access given in
   # pg_hba.conf will permit it only from localhost, not other machines.
   tcpip_socket = 1

3) Your web server has to load the php module. If you use Apache as
    web server, you should have this line in your /etc/apache/httpd.conf file:

   LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

4) You have to declare the pgsql dynamic extension in /etc/php4/apache/php.ini:
   ;;;;;;;;;;;;;;;;;;;;;;
   ; Dynamic Extensions ;
   ;;;;;;;;;;;;;;;;;;;;;;
   ;
      extension=pgsql.so
                                                     
   ; Note that it should be the name of the module only; no directory information 
   ; needs to go here.  Specify the location of the extension with the
   ; extension_dir directive above.

5) You should have a similar entry

      application/x-httpd-php                         php

   in your /etc/mime.types file to be able to manage php files.

Remember to put your dental office data in /var/www/odontolinux/intestazione.
It will appear in invoices and treatment plans.
