Home    System Requirements    Basic Installation    Server Option Installation    Progress Report     Basic Manual   Server Option Manual

Server Option Installation

  1. Create group payroll via editing /etc/groups.

  2. Install per Basic Installation instructions.

  3. Download payrollbashServer.tar.gz.

  4. Place payrollbashServer.tar.gz in "/home/payroll"

  5. As su give ownership of file to "payroll"
       /># chown payroll /home/payroll/payrollbashServer.tar.gz


  6. Login as "payroll"

  7. Unzip the file
       /home/payroll>$ tar zxvf payrollbashServer.tar.gz

  8. You will now have a directory : /home/payroll/public_html>$ with the cgi scripts enclosed

  9. The following httpd.conf edit may not agree with your distro's apache configuration. If you have difficulties and resolve them then please forward a httpd report so that I can incorporate it as part of these instructions.

    as "su" edit httpd.conf so that it contains the following

    _______________________________________________________________
      ScriptAlias /payroll/ "/home/payroll/public_html/"
    
      AddHandler cgi-script  .sh .cgi
    
      Alias /prbash/ /home/payroll/payrollbash-1.06/
    
      <Directory /home/payroll/public_html/>
            Options ExecCGI Includes FollowSymlinks MultiViews
      </Directory>
    
      <Directory /home/payroll/payrollbash-1.06>
            Options MultiViews
    	Allow from All
      </Directory>
    
      UserDir enable payroll
    ________________________________________________________________
    
    



  10. If apache has been configured with suExec then ensure it is enabled. If suExec is not available then as su chown the payrollbash directory with #chown -R nobody:nogroup /home/payroll/payrollbash-1.06 .

  11. apache has to be able to load the module mod_userdir.so . I've noted that some distros are leaving this module out because of security issues . I haven't been able to find a work-a-round so can only suggest that the module is freely available as a rpm download. I had this problem with Mandriva and solved it by checking the version of apache and downloading the necessary file .

  12. stop and restart the apache web server

  13. in browser open the following url :http://localhost/~payroll/prbash.cgi and you will hopefully see this :



    If you are using a networked pc then you will need to replace host=localhost in ./bin/source.ref to host=yourDomainName and open the url :http://yourDomainName/~payroll/cgi-bin/prbash.cgi You will also need to look into security issues if other users have access to the server.