Versions Compared

Key

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

...

...

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

...

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    

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).

...