[ckan-discuss] Installing CKAN under url?

Patipat Susumpow kengggg at gmail.com
Sun Nov 28 11:08:24 GMT 2010

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/ckan instead 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20101128/2f79ae84/attachment.htm>

More information about the ckan-discuss mailing list