Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It should work. On Windows the configuration is the same.
Don't forget to edit url.properties file (change 8080 to 80 and 8443 to 443).

...

Additional notes for configuring mod_ajp_proxy

...

Sometime it is useful to let Apache Web Server to serve the static resources such as images, css, js etc for performance or other reasons.
In that scenario, you will need to mount the individual OFbiz application. For example:
Mounting Ofbiz application as show below will forward every request to Ofbiz including request for static resources such as images.

...

/var/www/xxxx/images directory is where Apache will look for your images.

You will need to configure the Apache web server to map the cookies properly.

Below are the directives you must have in your Apache configuration file. Third line is the most important and the path would depend on your application context root. Last line is needed if your Apache host and OFbiz hosts are different.

ProxyPassReverse / http://www.xxxxxx.com/shop/control/
ProxyPassReverse / https://www.xxxxx.com/vshop/control/
ProxyPassReverseCookiePath /shop /

ProxyPassReverseCookieDomain www.xxxxx.com  www.yyyyy.com

Thanks to Raj Saini for this tipthese tips

I you need to use an svn repository on the same server the tip is to add

Code Block
proxyPass /svn !

...