en:user_advanced:webswing_gli
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:user_advanced:webswing_gli [2023/12/10 21:46] – [Webswing GLI] kjdon | en:user_advanced:webswing_gli [2025/09/08 01:58] (current) – [Useful Notes] kjdon | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| See [[https:// | See [[https:// | ||
| - | You also need to edit the apache configuration file for your VirtualHost | + | You also need to edit the apache configuration file for your VirtualHost. This file might be in eg / |
| + | Assuming your tomcat is running on port 8383: | ||
| + | |||
| + | If your apache is 2.4.47 or later: (httpd -v to determine version) | ||
| + | |||
| + | < | ||
| + | ProxyPass "/ | ||
| + | </ | ||
| + | |||
| + | If your apache is older than 2.4.47, try the following: | ||
| < | < | ||
| RewriteEngine on | RewriteEngine on | ||
| RewriteCond %{HTTP: | RewriteCond %{HTTP: | ||
| - | RewriteRule /(.*) ws:// | + | RewriteRule |
| RewriteCond %{HTTP: | RewriteCond %{HTTP: | ||
| - | RewriteRule /(.*) http:// | + | RewriteRule |
| </ | </ | ||
| - | This file might be in eg / | + | Note, this doesn' |
| + | ==== Configuration ==== | ||
| + | |||
| + | There is a config file web/ | ||
| + | |||
| + | Some useful settings in this file: | ||
| + | * uploadMaxSize - the maximum file size allowed to be uploaded (FileChooser) in MB. Set to 0 for unlimited size. Note, if the size is less than a file you are trying to upload to a collection, it will silently fail and give you no reason why. | ||
| + | * | ||
| + | |||
| + | ==== Debugging ==== | ||
| + | |||
| + | * webswing log goes to packages/ | ||
| + | * For GLI debugging - add -debug to the args for GathererProg in web/ | ||
| + | |||
| + | |||
| + | ====Deactivating Webswing ==== | ||
| + | |||
| + | Webswing is used for web-based GLI, Phind and Collage classifiers. If you don't need any of these things you can deactivate webswing by running: | ||
| + | |||
| + | < | ||
| + | cd < | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| + | It can be re-activated by running '' | ||
| + | |||
| + | ==== Useful Notes ==== | ||
| + | |||
| + | * You can see your webswing apps at http:// | ||
| + | * If you run the GLI app from here (instead of from a page inside of greenstone), | ||
| + | * | ||
en/user_advanced/webswing_gli.1702244788.txt.gz · Last modified: 2023/12/10 21:46 by kjdon
