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

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Aug 31 07:16:43 PDT 2018


Hi Daniel,
yes, I would say also that is the best way to do it.

Il giorno ven 31 ago 2018 alle ore 15:46 Daniel Victoria <
daniel.victoria at gmail.com> ha scritto:

> 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
>>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180831/33f53b1e/attachment-0001.html>


More information about the geonode-users mailing list