disregard my post,
finally got it working, for anyone who's having a problem like mine, here's what I've done:
Running: Windows XP, OpenKM 6.2.0, Apache2.2, with Proxy behind and other program uses port 8080 and I want to use port 81.
1. Put these in httpd.conf.
Take note: enable the modules
- mod_proxy.xo
mod_proxy_ajp.so
Code: Select allLoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
NameVirtualHost *:81
<VirtualHost *:81>
ServerName localhost
RedirectMatch ^/$ /OpenKM
ProxyRequests Off
ProxyVia On
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
Deny from All
</Proxy>
<Location /OpenKM>
ProxyPass ajp://127.0.0.1:8009/OpenKM
ProxyPassReverse http://localhost/OpenKM
</Location>
ErrorLog logs/your-domain-error_log
CustomLog logs/your-domain-access_log common
</VirtualHost>
2. Restart Apache.
3. Go to %CATALINA_HOME%\conf\server.xml
change these lines:
Code: Select all<Connector port="8080" address="127.0.0.1" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
to:
Code: Select all<Connector port="81" address="0.0.0.0" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
4. Run OpenKM
5. There you go!