Changes

From SME Server
Jump to navigationJump to search
226 bytes added ,  20:56, 11 May 2009
m
This is not a contrib it is a howto.
Line 7: Line 7:  
===Forum link===
 
===Forum link===
 
http://forums.contribs.org/index.php/topic,43486.0.html
 
http://forums.contribs.org/index.php/topic,43486.0.html
 +
 +
Please add comment there so I can merge it here later!
    
===Installation===
 
===Installation===
Line 68: Line 70:  
  ReplaceRules remove /home/e-smith/files/ibays
 
  ReplaceRules remove /home/e-smith/files/ibays
 
  ReplaceRules prepend //smeservername
 
  ReplaceRules prepend //smeservername
 +
# Next line will not work if you have dir's called "files"...
 
  ReplaceRules replace /files/ /
 
  ReplaceRules replace /files/ /
 +
#
    
Next: run the swish. The index file will be placed in the current dir.  
 
Next: run the swish. The index file will be placed in the current dir.  
Line 74: Line 78:  
  swish-e -c ibay.cfg -S prog -v 9
 
  swish-e -c ibay.cfg -S prog -v 9
   −
This should create both index.swish-e and index.swish-e.prop in the current dir.  
+
This should create both index.swish-e and index.swish-e.prop in the current dir.
 
  −
Under construction
      
=== swish.cgi ===
 
=== swish.cgi ===
Line 82: Line 84:  
For PoC I have setup this basic configuration in /home/e-smith/files/ibays/Primary/cgi-bin
 
For PoC I have setup this basic configuration in /home/e-smith/files/ibays/Primary/cgi-bin
   −
Copy (or symlink) swish.cgi
+
Copy (or symlink) swish.cgi. I prefer copy as I can modify the script without loosing the original.
    
  cp /usr/libexec/swish-e/swish.cgi /home/e-smith/files/ibays/Primary/cgi-bin/
 
  cp /usr/libexec/swish-e/swish.cgi /home/e-smith/files/ibays/Primary/cgi-bin/
Line 106: Line 108:  
=== Usage ===
 
=== Usage ===
   −
Under construction
+
Search should now be available at http://smeservername/cgi-bin/swish.cgi
   −
[[Category: Contrib]]
+
[[Category: Howto]]

Navigation menu