[ckan-discuss] Installing CKAN under url?
kengggg at gmail.com
Fri Dec 10 18:24:04 GMT 2010
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.
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!).
> 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
> >> instance run perfectly at http://opendata.in.th
> >> I've changed my /etc/apache2/sites-available/opendata.in.th.ini as
> >> 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
> >> due to those directory are refered as an absolute pate, for example the
> >> logo reference is
> >> <img style="display: inline;" title="Open Data Thailand Logo" alt="Open
> >> 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...
More information about the ckan-discuss