[one-users] Run sunstone server with apache
Daniel Molina
dmolina at opennebula.org
Tue Jul 24 09:21:56 PDT 2012
Hi Kumar,
On 23 July 2012 12:39, Kumar Vaibhav <kvaibhav at barc.gov.in> wrote:
> Hi Daniel,
>
> sorry for responding so late. But I tried to run as per your suggestion.
> First Page Login appears on the screen. But after entering the login and
> password the dashboard doesn;t appears.
> it takes me back to the login page.
>
> In this way I am looping in the Loging page.
>
> From Apache logs I can see that various urls are being requested but with a
> flash it changes back to login sreen,
>
> does anybody have tried running sunstone-server on Apache ?
Are you using Passenger? If so, you have to add the following lines to
the apache configuration
PassengerMaxInstancesPerApp 1
since sunstone does not support sessions across multiple server
instances. There is a ticket to solve this
http://dev.opennebula.org/issues/1369
Hope this helps
>
> Regards,
> Vaibhav
>
>
>
>
> On 6/20/2012 3:21 PM, Daniel Molina wrote:
>
>
> On 20 June 2012 11:38, Kumar Vaibhav <kvaibhav at barc.gov.in> wrote:
>>
>> I have seen this but I don't want to use SSL
>> I want to have password based authentication only
>>
>
> In the previous guide Apache is used as proxy, you can disable de ssl_mod
> and just proxy the requests to sunstone.
>
> If you want to use Apache as server, there is an apache module (Passenger
> [1]) to deploy Ruby application.
>
> You will have to create a config.ru file in the sunstone folder and
> configure the passenger module. The config.ru file should contain something
> like this:
>
>> cat /usr/lib/one/sunstone/config.ru
> $: << '.'
> require 'sunstone-server'
>
> run Sinatra::Application
>
> Hope this helps
>
> [1] http://www.modrails.com/documentation/Users%20guide%20Apache.html
>
>
>>
>> Regards,
>> Vaibhav
>>
>>
>>
>> On 6/20/2012 3:07 PM, Daniel Molina wrote:
>>
>> Hi,
>>
>> On 20 June 2012 11:26, Kumar Vaibhav <kvaibhav at barc.gov.in> wrote:
>>>
>>> Hi,
>>>
>>> I want to run sunstorne server with Apache web server.
>>> I have some more web apps running for my cloud deployment. and they use
>>> Apache.
>>> I want to run the sunstone server on port 80 along with apache server.
>>> So want that sunstone server runs with apache web server.
>>
>>
>> In this guide sunstone is deployed using apache:
>> http://wiki.opennebula.org/sunstone_x509
>>
>> Cheers
>>
>>>
>>>
>>> How to do this.
>>> Kindly help
>>>
>>> Regards,
>>> Vaibhav
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>> --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - The Open Source Solution for Data Center Virtualization
>> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>>
>>
>
>
>
> --
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>
>
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
More information about the Users
mailing list