[GeoNode-users] Serve directory contents using apache on the same GeoNode server

Daniel Victoria daniel.victoria at gmail.com
Fri Aug 31 06:46:11 PDT 2018


OK, replying to myself just in case someone wants to do something similar

In order to open a directory for listing it's file contents, one needs to
change
/etc/apache2/sites-enabled/geonode.conf

You need to set an alias for the directory you want and then add the proper
<directory> entry similar to:

Alias /dados /var/www/html/dados/

    <Directory "/var/www/html/dados/SL_publications/">
        Order allow,deny
        Options Indexes FollowSymLinks
        Allow from all
        Require all granted
        IndexOptions FancyIndexing
    </Directory>

On Thu, Aug 30, 2018 at 9:45 PM Daniel Victoria <daniel.victoria at gmail.com>
wrote:

> Hi all,
>
> I have an Ubuntu server running GeoNode 2.8, installed from the PPA. Now
> I'd like to expose a directory ( /var/www/data) using apache so other users
> can download some files that I will place there. But I can't figure out
> where (and how) to set this.
>
> Should this be done in /etc/apache2/sites-enabled/geonode.conf ?
> What should I place there?
>
> Thanks
> Daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180831/08e0bd96/attachment.html>


More information about the geonode-users mailing list