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.
futhermore, i have closed all firewall service, including iptables.
but cannot login using PC with outside internet, although i had followed the instruction by modifying the httpd configuration.
Code: Select all
and the server.xml listed as following,<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>
Code: Select all
Please help me, thank you very much! <!-- <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&useUnicode=true&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" />
futhermore, i have closed all firewall service, including iptables.