Changes

From SME Server
Jump to navigationJump to search
m
no edit summary
Line 99: Line 99:  
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>
 
<nowiki>
         <Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">                       <Set name="Host">127.0.0.1</Set> </New> </Arg> </Call>
+
         <Call name="addConnector">
</nowiki>Where only '''<Set name="Host">127.0.0.1</Set>''' is added.
+
<Arg>
 +
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
 +
                        <Set name="Host">127.0.0.1</Set>
 +
                        </New>
 +
                </Arg>
 +
        </Call>
 +
</nowiki>
 +
 
 +
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