• cannot login by outside internet.please HELP.

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #51098  by benson
 
i can login either the localhost or PC within LAN.

but cannot login using PC with outside internet, although i had followed the instruction by modifying the httpd configuration.
Code: Select all
<VirtualHost *:80>
  ServerName openkm.your-domain.com
  RedirectMatch ^/$ /OpenKM

  ProxyPass /OpenKM ajp://127.0.0.1:8009/OpenKM keepalive=On
  ProxyPassReverse /OpenKM http://[my static IP]:80/OpenKM

  ErrorLog /var/log/httpd/openkm-error.log
  CustomLog /var/log/httpd/openkm-access.log combined
</VirtualHost>
and the server.xml listed as following,
Code: Select all
<!--     <Resource name="jdbc/OpenKMDS" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" validationQuery="select 1"  username="openkm" password="*****" driverClassName="com.mysql.jdbc.Driver"
            url="jdbc:mysql://localhost:3306/okmdb?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"/> -->

   <Resource name="jdbc/OpenKMDS" auth="Container" type="javax.sql.DataSource"
            maxActive="100" maxIdle="30" maxWait="10000" validationQuery="select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
            username="sa" password="" driverClassName="org.hsqldb.jdbcDriver"    url="jdbc:hsqldb:${catalina.base}/repository/okmdb"/>
  <Connector port="80" address="222.128.47.203" protocol="HTTP/1.1" connectionTimeout="20000"      redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
  <!--  <Connector executor="tomcatThreadPool"   port="80" protocol="HTTP/1.1"  connectionTimeout="20000"   redirectPort="8443" /> -->

<!--  <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"  maxThreads="150" scheme="https" secure="true"   clientAuth="false" sslProtocol="TLS" />      -->

    <!-- Define an AJP 1.3 Connector on port 8009 -->      
  <Connector port="8009" address="127.0.0.1" protocol="AJP/1.3" edirectPort="8443" />
Please help me, thank you very much!

futhermore, i have closed all firewall service, including iptables.
 #51121  by jllort
 
Read this documentation section: https://docs.openkm.com/kcenter/view/ok ... proxy.html at least this section in your configuration is wrong:
Code: Select all
ProxyPassReverse /OpenKM http://[my static IP]:80/OpenKM
Also I suggest remove default apache configuration
Code: Select all
a2dissite 000-default.conf

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.