Page 1 of 1

Integrate with existing apache2

PostPosted:Mon May 24, 2010 10:54 am
by asdrojd
I installed OpenKM in freebsd. it's work ok on IP:8080.
I have on this server apache2 i wont to integrate apache with openkm
to have http://domain.com/
how i can to do this?

now i have in httpd.conf
=================================
<VirtualHost 192.168.1.11:80>
ServerAdmin john@doe.com
ServerName domain.com
ProxyPass / http://localhost:8080/OpenKM/
ProxyPassReverse / http://localhost:8080/OpenKM/
ErrorLog /var/log/domain-error_log
CustomLog /var/log/domain-access_log combined

</VirtualHost>
=================================
but it work with some errors.

please give full howto as answear

Re: Integrate with existing apache2

PostPosted:Mon May 24, 2010 1:42 pm
by asdrojd
for now it's work config

<VirtualHost 192.168.1.11:80>
ServerName <your-domain>.com
ProxyPass / http://localhost:8080/OpenKM/
ProxyPassReverse / http://localhost:8080/OpenKM/
ErrorLog /var/log/<your-domain>.com-error_log
CustomLog /var/log/<your-domain>.com-access_log combined

RewriteEngine on
# Tomcat rewrite rule . as route
RewriteCond %{REQUEST_URI} /OpenKM*
RewriteRule ^(/.*)$ http://localhost:8080$1 [P]
ProxyPassReverse / http://localhost:8080/
</VirtualHost>

Re: Integrate with existing apache2

PostPosted:Wed Jan 05, 2011 4:40 pm
by jmonin
Thanks a lot, That did the trick for me!