[ckan-discuss] Installing CKAN under url?

Patipat Susumpow kengggg at gmail.com
Fri Dec 10 18:24:04 GMT 2010


Hi Rufus,

Thank you so much. We start setting under subdomain instead of suburl for
Thailand's data catalog, but will give a try to verify the fix.

Keng.

On Sat, Dec 11, 2010 at 12:42 AM, Rufus Pollock <rufus.pollock at okfn.org>wrote:

> Hi Patipat,
>
> Just to follow up, this issue has now been fixed and ticket
> <http://ckan.org/ticket/836> is closed so you should be able to
> install under a suburl (if you install off head). If you do try this
> out please let me know how it went (it worked on my machine!).
>
> Rufus
>
> On 30 November 2010 15:57, Rufus Pollock <rufus.pollock at okfn.org> wrote:
> > On 28 November 2010 11:08, Patipat Susumpow <kengggg at gmail.com> wrote:
> >> Hi all,
> >>
> >> I'm trying to setup CKAN for Open Data Thailand Initiative at
> >> http://opendata.in.th/ckan (it's inaccessible now). I've follow the
> >> 'Production Deployment' steps
> >> (http://knowledgeforge.net/ckan/doc/ckan/deployment.html) and can get
> CKAN
> >> instance run perfectly at http://opendata.in.th
> >>
> >> I've changed my /etc/apache2/sites-available/opendata.in.th.ini as
> highligh
> >> to push CKAN instance accessible from http://opendata.in.th/ckaninstead of
> >> http://opendata.in.th which I wish to put Drupal as a frontend.
> >>
> >>> <VirtualHost *:80>
> >>>     ServerName opendata.in.th
> >>>     ServerAlias opendata.in.th
> >>>
> >>>     WSGIScriptAlias /ckan
> >>> /home/keng/var/srvc/opendata.in.th/pyenv/bin/opendata.in.th.py
> >>>     # pass authorization info on (needed for rest api)
> >>>     WSGIPassAuthorization On
> >>>
> >>>     ErrorLog /var/log/apache2/opendata.in.th.error.log
> >>>     CustomLog /var/log/apache2/opendata.in.th.custom.log combined
> >>> </VirtualHost>
> >>
> >> After I've done this, I've lost all stylesheets/scripts/images
> references,
> >> due to those directory are refered as an absolute pate, for example the
> main
> >> logo reference is
> >>
> >> <img style="display: inline;" title="Open Data Thailand Logo" alt="Open
> Data
> >> Thailand Logo" src="/images/ckan_logo_fullname_long.png">
> >>
> >> I'm wondering is there any way to install CKAN under sub url?
> >
> > To follow up Friedrich's comments ...
> >
> > You should be able to install CKAN at a suburl and I've created a
> > ticket to this effect: <http://ckan.org/ticket/836>
> >
> > As I understand it the majority of the sites and links work it is just
> > that there are some hard-coded links e.g. for this logo -- or are
> > there other, more fundamental problems (in general a pylons wsgi app
> > will take account of its url mount point in generating urls ...)
> >
> > Rufus
> >
>
>
>
> --
> Co-Founder, Open Knowledge Foundation
> Promoting Open Knowledge in a Digital Age
> http://www.okfn.org/ - http://blog.okfn.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20101211/a5a52b40/attachment.htm>


More information about the ckan-discuss mailing list