Hi,
I need help with setting up the right url for my web site. I followed the 
direction in http://solprovider.com/lenya/proxy to set up proxy for the live 
site like this:


NameVirtualHost *:80
<VirtualHost *:80>
ServerName livelenya.domain.com 
RewriteEngine On
RewriteRule ^/veg/live/(.*)$ http://127.0.0.1:8888/pub/live/$1 [P] 
RewriteRule ^/veg/authoring/(.*)$ http://127.0.0.1:8888/pub/live/$1 [P] 
RewriteRule ^/lenya/(.*)$ http://127.0.0.1:8888/lenya/$1 [P] 
RewriteRule ^/kupu/(.*)$ http://127.0.0.1:8888/kupu/$1 [P] 
RewriteRule ^/(.*)$ http://127.0.0.1:8888/pub/live/$1 [P] 
</VirtualHost>

The redirect does work - as I can confirm by replacing the last RewriteRule 
above with another url. But if I set it up exactly like above, and go to 
livelenya.domain.com from another pc, it actually shows this url 
(http://127.0.0.1:8888/pub/live/index.html) and takes me to 'Page cannot be 
displayed' error.

Basically I am looking to redirect from www.domain.com to 
www.domain.com/pub/live/index.html; or better still I want www.domain.com to 
take me directly to www.domain.com/index.html which should be my lenya hosted 
site. And I also want to be able to host multiple lenya publications as well 
(for example www.anotherdomain.com points to another Lenya publication.
Can this be done? If yes, would appreciate any pointers. If not, would like to 
know what is the best practice that people follow to host multiple domains 
against multiple lenya publications.
(I am all set if I were to forward www.domain.com to http://live.domain.com, 
for example - but I don't want a sub domain to show up in the url for most 
part of the publication)
Thanks!


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

Reply via email to