Changes

From SME Server
Jump to navigationJump to search
m
WIP
Line 98: Line 98:  
  signal-event webapps-update
 
  signal-event webapps-update
 
Your sub domain has been created but will not yet show eHour. We need to tell the eHour Jetty webserver that it needs to listen to 127.0.0.1. Since the eHour Jetty webserver is not part of SME Server, we need to adjust the jetty config file located at '''/opt/ehour/home/conf/jetty.xml''' to look like this:
 
Your sub domain has been created but will not yet show eHour. We need to tell the eHour Jetty webserver that it needs to listen to 127.0.0.1. Since the eHour Jetty webserver is not part of SME Server, we need to adjust the jetty config file located at '''/opt/ehour/home/conf/jetty.xml''' to look like this:
<nowiki>
+
 
        <Call name="addConnector">
+
<Call name="addConnector">
<Arg>
+
<Arg>
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
+
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
                        <Set name="Host">127.0.0.1</Set>
+
<Set name="Host">127.0.0.1</Set>
                        </New>
+
</New>
                </Arg>
+
</Arg>
        </Call>
+
</Call>
</nowiki>
      
Where only '''<Set name="Host">127.0.0.1</Set>''' is added.
 
Where only '''<Set name="Host">127.0.0.1</Set>''' is added.
 +
 
Then eHour needs to be restarted by:service ehour restartAnd give it a minute to restart. Then eHour will be available from https://timesheet.myserver.com.
 
Then eHour needs to be restarted by:service ehour restartAnd give it a minute to restart. Then eHour will be available from https://timesheet.myserver.com.
 
Once the sub domain is working, you may want to close off the original webaddress myserver.com:8000 by setting the access property to private: config setprop ehour access private
 
Once the sub domain is working, you may want to close off the original webaddress myserver.com:8000 by setting the access property to private: config setprop ehour access private

Navigation menu