Anshul,

Would you mind adding the question with solution on ask.openstack.org ? It will 
help other. :)

Cheers!!

Atul

________________________________
From: Openstack [[email protected]] on 
behalf of Anshul Gangwar [[email protected]]
Sent: Wednesday, June 26, 2013 4:10 PM
To: JuanFra Rodriguez Cardoso
Cc: Openstack
Subject: Re: [Openstack] custom url for openstack dashboard

I have solved my problem by using VirtualHost concept of apache2

Anshul


________________________________
From: JuanFra Rodriguez Cardoso <[email protected]>
To: Anshul Gangwar <[email protected]>
Cc: Openstack <[email protected]>; Balamurugan V G 
<[email protected]>
Sent: Wednesday, 26 June 2013 4:00 PM
Subject: Re: [Openstack] custom url for openstack dashboard

Have you tried WEBROOT options in .../settings.py?
JuanFra
El 24/06/2013 08:07, "Anshul Gangwar" 
<[email protected]<mailto:[email protected]>> escribió:
Hi JuanFra,

This is not solving my problem. I want a solution where urls are relative to 
certain fixed string  say os.

Currently I can either make them relative by making changes in settings.py or 
absolute.

for example when I see page source I can see urls are of form

/static/*
/auth/*

what I want is that when these urls are returned to browser, they are prefixed 
with some string like

/os/static/*
/os/auth/*

this os string is added on the fly i.e. these urls are absolute, but relative 
to certain fixed string.

 Thanks,
Anshul


________________________________
From: JuanFra Rodriguez Cardoso 
<[email protected]<mailto:[email protected]>>
To: Anshul Gangwar <[email protected]<mailto:[email protected]>>
Cc: Balamurugan V G <[email protected]<mailto:[email protected]>>; 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Sent: Friday, 21 June 2013 6:43 PM
Subject: Re: [Openstack] custom url for openstack dashboard

Hi Anshul,
you can try to change WSGI alias in file 
'/etc/httpd/conf.d/openstack-dahsboard' file (on RHEL-based installation).

DEFAULT --> WSGIScriptAlias /dashboard 
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
NEW --> WSGIScriptAlias /os 
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi


Regards,
JuanFRa

---
JuanFra


2013/6/21 Anshul Gangwar <[email protected]<mailto:[email protected]>>
I am already using one proxy. So below doesn't seems to serve my purpose.

Basically I want something like such that  urls within the page are not 
absolute, instead they are relative.

i.e. In page source I can see that urls are like /static/admin(absolute). Can I 
change them to static/admin(relative) with some dashboard/horizon setting?

Thanks,
Anshul

________________________________
From: Balamurugan V G <[email protected]<mailto:[email protected]>>
To: Anshul Gangwar <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Sent: Friday, 21 June 2013 1:28 PM
Subject: Re: [Openstack] custom url for openstack dashboard

You can try Apache's mod rewrite and do URL rewrites as desired.

Regards,
Balu


On Fri, Jun 21, 2013 at 1:05 PM, Anshul Gangwar 
<[email protected]<mailto:[email protected]>> wrote:
> I want to give custom url for openstack dashboard, say
>
> http://10.1.1.1/os
>
> How can I acheive this?
>
> Thanks,
> Anshul
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to    : 
> [email protected]<mailto:[email protected]>
> Unsubscribe : https://launchpad.net/~openstack
> More help  : https://help.launchpad.net/ListHelp
>



_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp






http://www.csscorp.com/common/email-disclaimer.php
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to