...
Uncomment (or compile with at least these modules using --enable)
Code Block |
---|
\#LoadModule proxy_module modules/mod_proxy.so \#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so \#LoadModule ssl_module modules/mod_ssl.so |
...
Code Block |
---|
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 |
...
replace
Code Block |
---|
<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
Code Block |
---|
<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 ProxyRequests Off ProxyPreserveHost On proxyPass / ajp://localhost:8009/ RewriteEngine On RewriteRule \^/(images/.+);jsessionid=\w+$ /$1 |
...
- Change the location of the mainDecoratorLocation in web.xml
Code Block <context-param>
<param-name>mainDecoratorLocation</param-name>
**
**<param-value>component://ecommerce/widget/CommonScreens.xml</param-value>
<description>The location of the<description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
</context-param>
- Create a screen with name="main-decorator" in the file you specified in the mainDecoratorLocation property (I imagine you'll want to copy an existing decorator screen and modify it rather than start from scratch)
...