User Tools

Site Tools


en:user_advanced:webswing_gli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user_advanced:webswing_gli [2024/09/10 03:51] – [Debugging] kjdonen:user_advanced:webswing_gli [2025/09/08 01:58] (current) – [Useful Notes] kjdon
Line 37: Line 37:
 Assuming your tomcat is running on port 8383: Assuming your tomcat is running on port 8383:
  
-If your apache is 2.4.47 or later:+If your apache is 2.4.47 or later: (httpd -v to determine version)
  
 <code> <code>
Line 48: Line 48:
  
     RewriteCond %{HTTP:Upgrade} =websocket     RewriteCond %{HTTP:Upgrade} =websocket
-    RewriteRule /(.*) ws://localhost:8383/$1 [P,L]+    RewriteRule /webswing-server/(.*) ws://localhost:8383/webswing-server/$1 [P,L]
  
     RewriteCond %{HTTP:Upgrade} !=websocket     RewriteCond %{HTTP:Upgrade} !=websocket
-    RewriteRule /(.*) http://localhost:8383/$1 [P,L]+    RewriteRule /webswing-server/(.*) http://localhost:8383/webswing-server/$1 [P,L]
  
 </code> </code>
Line 84: Line 84:
  
 It can be re-activated by running ''./ACTIVATE.sh webswing'' in the same folder. It can be re-activated by running ''./ACTIVATE.sh webswing'' in the same folder.
 +
 +==== Useful Notes ====
 +
 +  * You can see your webswing apps at http://localhost:8383/webswing-server (depending on port and webswing.context settings in build.properties)
 +  * If you run the GLI app from here (instead of from a page inside of greenstone), then the preview button won't work.
 +  * 
en/user_advanced/webswing_gli.1725940318.txt.gz · Last modified: 2024/09/10 03:51 by kjdon