Hi Tino,<div><br></div><div>I actually tried to run ozone-server as root and still couldn't get the reverse proxy to work automatically and it works if I manually add the reverse proxy to httpd.conf. I wonder if the documentation could provide more information on how reverse proxy via .htaccess is done. </div>
<div>Thanks.</div><div><br></div><div>Shi<br><br><div class="gmail_quote">On Thu, Sep 22, 2011 at 2:24 PM, Shi Jin <span dir="ltr"><<a href="mailto:jinzishuai@gmail.com">jinzishuai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><div>Hi Tino,</div><div><br></div><div>Thank you very much.</div><div>I am running CentOS instead of Ubuntu so I changed the ozones-server.conf to have</div><div>:htaccess: /var/www/html/.htaccess</div><div>
But this does not seem to be enough. Do we have to create this file ahead of time? Also, if I am running the ozone-server as a regular user, how am I supposed to control Apache2 which is run by root/www-data(on ubuntu) or apache (on CentOS)?</div>

<div>Do I have to run ozone-server as root?</div><div><br></div><div>Thanks.</div><div>Shi</div><br></div><div class="gmail_quote"><div class="im">On Wed, Sep 21, 2011 at 4:11 AM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova79@gmail.com" target="_blank">tinova79@gmail.com</a>></span> wrote:<br>

</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Shi Jin,<br>
<br>
You may want to take a look at the "Configure oZones Server" section of [1].<br>
<br>
In a nutshell, the oZones server configures the reverse proxy by<br>
rewritting the .htaccess file. The documentation is still at<br>
development state, any feedback on it would be highly appreciated.<br>
<br>
Regards,<br>
<br>
-Tino<br>
<br>
[1] <a href="http://opennebula.org/documentation:rel3.0:ozonescfg" target="_blank">http://opennebula.org/documentation:rel3.0:ozonescfg</a><br>
<br>
--<br>
Constantino Vázquez Blanco | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>
Virtualization Technology Engineer / Researcher<br>
OpenNebula Toolkit | <a href="http://opennebula.org" target="_blank">opennebula.org</a><br>
<div><div></div><div><br>
<br>
<br>
On Thu, Sep 15, 2011 at 11:56 PM, Shi Jin <<a href="mailto:jinzishuai@gmail.com" target="_blank">jinzishuai@gmail.com</a>> wrote:<br>
> Hi there,<br>
> I am starting to test ONE-3.0beta2, particularly on the oZones and VDCs.<br>
> My question is that do we have to manually set up the reverse proxy on<br>
> Apache for each VDC or this is taken care of by OpenNebula automatically? So<br>
> far, I have found that I need to manually add to httpd.conf<br>
> ProxyPass /vdc1 <a href="http://192.168.1.52:2633/RPC2" target="_blank">http://192.168.1.52:2633/RPC2</a><br>
> ProxyPassReverse /vdc1 <a href="http://192.168.1.52:2633/RPC2" target="_blank">http://192.168.1.52:2633/RPC2</a><br>
> In order to use the http://<host>/vdc1 as the end point for the VDC.<br>
> Is this how it is supposed to be?<br>
><br>
> Also, as the VDC admin, I don't have the permission to run "oneuser list".<br>
> But shouldn't I be seeing myself and accounts I created under this account?<br>
> Thanks a lot.<br>
> Shi<br>
> --<br>
> Shi Jin, Ph.D.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
</blockquote></div></div></div><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Shi Jin, Ph.D.<br><br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>Shi Jin, Ph.D.<br><br>
</div>