To setup a www primadorac interface do the following:

1) enable perl execution in www-dir primadorac as  in the example below

#    enable perl execution in PRIMADORAC
        <Directory "/var/www/primadorac">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Order allow,deny
            Allow from all
            AddHandler cgi-script .cgi .pl .php
            AddType application/x-httpd-php .php
            AddType application/xml .xml
        </Directory>


2) cd to the html root dir  (in the example above thsi dir is "/var/www/") 

3) link the  www-dir primadorac clone directory as 

ln -s HOME_ORAC/tools/primadorac/www primadorac 

where HOME_ORAC is the directory where you have installed the code (e.g. $HOME/orac.6_0_1)  

4) The interface can now be accessed as 

http://www.mywebsite.org/primadorac

