Could you post your apache(2?) proxy setup and any helpful notes.

The authoring and live virtual hosts pasted below.

It is pretty much a copy of the proxy how to's. (I'm finding this stuff "big magic" and would be hard pushed to explain it satisfactorily) I needed to add a couple of rules to get lenya resource found (css and javascript) Lenya is running as root so I'm avoiding the need to get involved with patching apache

HTH

PS
This is not problem free, the mixed security msg in the site tab makes it unusable in terms of letting customers on it

Lee C



<VirtualHost *:80>
  # cms authoring site
  ServerName www.highbridgecms.co.uk
  ProxyRequests Off
  RewriteEngine On
  RewriteLog www.highbridgecms.co.uk.rewrite.log
  RewriteLogLevel 0
  RewriteRule ^/([^/\.]+)$ $1/ [R]
RewriteRule ^/([^/\.]+)/$ http://www.highbridgecms.co.uk/$1/authoring/index.html [R,L]
  #RewriteCond %{QUERY_STRING} lenya\.usecase=login(.*)
  #RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
RewriteRule ^/lenya/(.*) http://www.highbridgecms.co.uk:8080/lenya/$1 [P,L]
  RewriteRule ^/(.*) http://www.highbridgecms.co.uk:8080/$1  [P,L]
  ProxyPassReverse / http://www.highbridgecms.co.uk:8080/
</VirtualHost>

<virtualHost *:443>
  # secure cms authoring site
  ServerName www.highbridgecms.co.uk
  ProxyRequests Off
  RewriteEngine On
  RewriteLog logs/ssl.www.highbridgecms.co.uk.rewrite.log
  RewriteLogLevel 0
  RewriteRule ^/([^/\.]+)$ $1/ [R]
RewriteRule ^/([^/\.]+)/$ http://www.highbridgecms.co.uk/$1/authoring/index.html [R,L] RewriteRule ^/lenya/(.*) http://www.highbridgecms.co.uk:8080/lenya/$1 [P,L]
  RewriteRule ^/(.*) http://%{SERVER_NAME}:8080/$1 [P,L]
  ProxyPassReverse / http://www.highbridgecms.co.uk:8080/
</virtualHost>
#
# highbridge associates port 80 only
#

<VirtualHost *:80>

  # cms authoring site
  ServerName www.highbridgeassociates.co.uk
  ProxyRequests Off
  RewriteEngine On
  RewriteLog www.highbridgeassociates.co.uk.rewrite.log
  RewriteLogLevel 0
  #match and proxy /
RewriteRule ^/$ http://www.highbridgeassociates.co.uk:8080/highbridge/live/index.html [P,L]
  #match and proxy internal refs with /live/
RewriteRule ^/highbridge/live/(.*) http://www.highbridgeassociates.co.uk:8080/highbridge/live/$1 [P,L]
  #match and proxy lenya internals 404 etc
RewriteRule ^/lenya/(.*) http://www.highbridgeassociates.co.uk:8080/lenya/$1 [P,L]
  #match and proxy chilren dirs of /
RewriteRule ^/(.*) http://www.highbridgeassociates.co.uk:8080/highbridge/live/$1 [P]
  ProxyPassReverse / http://www.highbridgeassociates.co.uk:8080/
</VirtualHost>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to