hi,
i installed OpenEmm version 5.3.2, and i thought there are two different entry ports, like described in the "Install_Guide_OpenEMM-5-3.pdf".
one for administration/OpenEMM console (8081) and an other one for the OpenEMM redirection service (8080).
but actually,and this make really no sense, its possibly to access console and redirection links on both ports!
has anyone else the same problem?
kind regards
OpenEmm5.3.2 console/redirection on both ports 8080/8081
Moderator: moderator
Re: OpenEmm5.3.2 console/redirection on both ports 8080/8081
it seems that security is not important for openemm ,,,^..^,,,
OpenLux wrote:hi,
i installed OpenEmm version 5.3.2, and i thought there are two different entry ports, like described in the "Install_Guide_OpenEMM-5-3.pdf".
one for administration/OpenEMM console (8081) and an other one for the OpenEMM redirection service (8080).
but actually,and this make really no sense, its possibly to access console and redirection links on both ports!
has anyone else the same problem?
kind regards
-
- Posts: 22
- Joined: Thu Aug 03, 2006 3:18 pm
- Location: Ruhpolding, BY, Germany
- Contact:
Workaround: tested with Version 5.4
Hi,
actually you open the console login on both ports:
http://host.company.com:8080
http://host.company.com:8081
to separate the login and the redirection
you have to do the following steps:
1. copy /core to /rdir:
2. change owner:
3. delete logon.do and login.jsp:
4. edit redirection.conf to switch to rdir:
search for document-directory="core" and change it to document-directory="rdir"
your new "redirection.conf":
5. restart OpenEMM:
6. ready:
You open now the console login with:
http://FQDN:8081
if you try:
http://FQDN:8080
you will get an 404 error.
... to be edited.
Attention: Check these settings after a update!
actually you open the console login on both ports:
http://host.company.com:8080
http://host.company.com:8081
to separate the login and the redirection
you have to do the following steps:
1. copy /core to /rdir:
Code: Select all
cd /home/openemm/webapps/
cp core rdir -Rv
Code: Select all
chown openemm:openemm rdir -Rv
Code: Select all
rm rdir/logon.do rdir/login.jsp
Code: Select all
vi /home/openemm/conf/redirection.conf
your new "redirection.conf":
Code: Select all
<resin xmlns="http://caucho.com/ns/resin"
xmlns:resin="http://caucho.com/ns/resin/core">
<log name="" level="info" path="stdout:" timestamp="[%H:%M:%S.%s]"/>
<log name="com.caucho.java" level="config" path="stdout:" timestamp="[%H:%M:%S.%s]"/>
<log name="com.caucho.loader" level="config" path="stdout:" timestamp="[%H:%M:%S.%s]"/>
<javac compiler="javac" args=""/>
<user-name>openemm</user-name>
<group-name>openemm</group-name>
<server>
<class-loader>
<tree-loader path="${resin.home}/lib"/>
</class-loader>
<http server-id="redirection" host="*" port="8080"/>
<web-app-default>
</web-app-default>
<resin:import path="${resin.home}/conf/app-default.xml"/>
<access-log path='${resin.home}/var/log/access-redirection.log'
format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' rollover-period='1D'/>
<host id="" root-directory="${resin.home}/webapps">
<web-app id="/" document-directory="rdir">
</web-app>
</host>
</server>
</resin>
5. restart OpenEMM:
Code: Select all
su - openemm
OpenEMM.sh stop
OpenEMM.sh start
You open now the console login with:
http://FQDN:8081
if you try:
http://FQDN:8080
you will get an 404 error.
... to be edited.
Attention: Check these settings after a update!