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/01 22:50] – [Debugging] kjdonen:user_advanced:webswing_gli [2025/08/24 23:56] (current) – [When Tomcat is behind an Apache server] 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 70: Line 70:
 ==== Debugging ==== ==== Debugging ====
  
-  * webswing log goes to packages/tomcat/bin/logs/webswing.log +  * webswing log goes to packages/tomcat/bin/logs/webswing.log. GLI System.err goes there. 
-  * For GLI debugging - add -debug to the args for GathererProg in web/ext/websing/etc/webswing.config.in. Restart tomcat. A GLI log file will go to gli/webswing-users/<username>/debug<date>.txt. Note, this folder is also where the GLI config file is stored for the user - configWebswing.xml+  * For GLI debugging - add -debug to the args for GathererProg in web/ext/websing/etc/webswing.config.in. Restart tomcat. A GLI log file will go to gli/webswing-users/<username>/debug<date>.txt. Note, this folder is also where the GLI config file is stored for the user - configWebswing.xml. GLI DebugStream.println goes here.
  
  
en/user_advanced/webswing_gli.1725231015.txt.gz · Last modified: 2024/09/01 22:50 by kjdon