Changes between Version 15 and Version 16 of NDGBrowseHowTo


Ignore:
Timestamp:
24/04/07 18:21:54 (12 years ago)
Author:
mggr
Comment:

minor notes from PML install

Legend:

Unmodified
Added
Removed
Modified
  • NDGBrowseHowTo

    v15 v16  
    1414Note also that much of this will be vastly simplified when we eggify the installation! 
    1515 
    16  1. Setup fastcgi. Your apache configuration should have something like this in it: 
     16 1. Setup fastcgi. 
     17 
     18On RHEL4, this just involved downloading the fastcgi module from  http://www.fastcgi.com/, editing Makefile.AP2 (top_dir should be 'usr/lib/httpd'), renaming to Makefile and doing make ; make install 
     19 
     20Your apache configuration should have something like this in it: 
    1721{{{ 
    1822<IfModule mod_fastcgi.c> 
     
    2226  Alias /layout "/var/www/fastcgi/ndg.fcgi/layout" 
    2327  <Directory /var/www/fastcgi> 
     28    Options +ExecCGI 
    2429    SetHandler fastcgi-script 
    2530    Order allow,deny 
     
    3035</IfModule> 
    3136}}} 
     37 
     38Note the /var/www/fastcgi (or wherever) directory must exist but /var/www/fastcgi/ndg.fcgi must not. 
     39 
     40Also note that /tmp might be a risky place to keep the socket file if your /tmp directory is regularly cleaned up (e.g. by tmpwatch) 
     41 
    3242 1. Make sure the pieces we need from paste are installed: 
    3343{{{ 
     
    6979 1. Create a passwords.txt file and make sure it exists in the directory from which you run the deploy script (and check that you can't get access to that directory via the web!).  It is for allowing the browse code access to your exist repository and should have the following format: 
    7080{{{ 
    71 your.repository.name exist_access_usercode password 
     81existhost.your.domain.ac.uk exist_access_userid password 
    7282}}} 
    7383 1. You will need to modify the ndgDiscovery.config file as well. You should only need to modify the entries in the default and layout sections.