...
I would like to integrate interesting points from http://www.opensourcestrategies.com/ofbiz/tutorials.php (OFBiz Cookbooks part) but I don't know the licence status.
Tables of content
Apache HTTPD (Apache Web server)
Ajax - Javascript - Json
- Disable Browser Cache for Module
- Integrate OFBiz with Yui-Ext
- An easy way to get a data structure from server to Javascript in client browser
...
FAQ - TIPS - Cookbook - How to
Anchor | ||||
---|---|---|---|---|
|
How to use mod_proxy_ajp
You need to use a 2.2+ version of HTTPD. I used 2.2.6.
...
In httpd.conf
...
Uncomment (or compile with at least these modules using --enable)
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
Set ServerAdmin, ServerName
Add something like
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
NameVirtualHost *:80
<VirtualHost *:80>
# General setup for the virtual host
DocumentRoot "/usr/local/apache2/htdocs"
ErrorLog logs/error_log
TransferLog logs/access_log
ServerName lamouline.myvnc.com
ServerAdmin webmaster@les7arts.com
ProxyRequests Off
ProxyPreserveHost On
proxyPass / ajp://localhost:8009/
RewriteEngine On
RewriteRule ^/(images/.);jsessionid=\w$ /$1
</VirtualHost>
include conf/httpd-ssl.conf
...
In httpd-ssl.conf
...
replace
<VirtualHost _default_:443>
# General setup for the virtual host
DocumentRoot "/usr/local/apache2/htdocs"
ServerName www.example.com:443
ServerAdmin you@example.com
ErrorLog "/usr/local/apache2/logs/error_log"
TransferLog "/usr/local/apache2/logs/access_log"
by
<VirtualHost *:443>
# General setup for the virtual host
DocumentRoot "/usr/local/apache2/htdocs"
ErrorLog "/usr/local/apache2/logs/error_log"
TransferLog "/usr/local/apache2/logs/access_log"
ServerName lamouline.myvnc.com
ServerAdmin webmaster@les7arts.com
ServerAlias ofbiz
ProxyRequests Off
ProxyPreserveHost On
proxyPass / ajp://localhost:8009/
RewriteEngine On
RewriteRule ^/(images/.);jsessionid=\w$ /$1
It should work, on Windows the configuration is the same
Anchor | ||||
---|---|---|---|---|
|
...