← Back to team overview

openstack team mailing list archive

Re: 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 <anshul1886@xxxxxxxxxxx>

> 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 <balamuruganvg@xxxxxxxxx>
> *To:* Anshul Gangwar <anshul1886@xxxxxxxxxxx>
> *Cc:* "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
> *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 <anshul1886@xxxxxxxxxxx>
> 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    : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help  : https://help.launchpad.net/ListHelp
> >
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References