[GeoNode-users] Geonode error "page not found" on production install

Ivo Santos ivojfs at gmail.com
Tue Jan 12 12:25:45 PST 2016


Hi everyone,

So, after trying on localhost and themed my instalation to my needs, I am
installing geonode on the production server. I am again with some doubts on
the configuration. The automatic configuration file geonode.conf was
changed by me on:

<VirtualHost *:80>
    Servername atlas.example.com
    ServerAlias atlas.example.com

When I try to reach geoserver I get a apache tomcat 404. should i change
also on that file, the proxypass "localhost" to "atlas.example.com"? These
are the lines:
    ProxyPass /geoserver http://localhost:8080/geoserver
    ProxyPassReverse /geoserver http://localhost:8080/geoserver


My 000-default.conf was working with the www.example.com on a CMS, now the
configuration is redirecting to geoserver landing page. On other hand
atlas.example.com shows geonode with "page not found error"

On my local_settings.py I changed the SITEURL= 'http://atlas.example.com'
and ALLOWED_HOSTS=['atlas.example.com','www.example.com']


Hoping that you can help me,
Best regards,
Ivo

2016-01-09 17:36 GMT+00:00 Ivo Santos <ivojfs at gmail.com>:

> Simone,
>
> Thank you for your help. I am testing on a lamp instalation on my laptop.
> For now I will test other aspects and leave that part for the production
> environment.
>
> Best regards,
> Ivo
>
> 2016-01-08 10:42 GMT+00:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>
>> Ivo, if your server doesn't have a name (just the ip address) then you
>> cannot have multiple sites under the root. if you have a domain name then
>>  you can take a look at the apache virtualhost configuration
>> https://httpd.apache.org/docs/2.2/vhosts/examples.html.
>>
>> hope this helps
>>
>> 2016-01-08 11:39 GMT+01:00 Ivo Santos <ivojfs at gmail.com>:
>>
>>> Hi Simone,
>>>
>>> Thank you for showing me the correct way. I managed to use geonode on a
>>> subdomain like you suggested. But now every other site on the server is
>>> giving error "Bad Request (400)". Probably this is a common error due to my
>>> inexperience with apache. If this questions are not for this list please
>>> let me know.
>>>
>>> Regards,
>>> Ivo
>>>
>>> 2016-01-08 7:36 GMT+00:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>>
>>>> Hi Ivo,
>>>>
>>>> Geonode works at the root of the domain and you cannot serve it under
>>>> /geonode unless you change the code or maybe do some tricks with Apache.
>>>> Not sure if someone else has tried that. The suggestion is to keep at the
>>>> root but serve it with an Apache virtualhost when you have a domain name.
>>>> Like geonode.yourdomain.com.
>>>>
>>>> Regards
>>>>
>>>> Il giovedì 7 gennaio 2016, Ivo Santos <ivojfs at gmail.com> ha scritto:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>> I am new to geonode and testing the possibility of using it on my
>>>>> work. For now, I am trying to install Geonode for production.
>>>>> I instaled via apt-get with the snapshots repository on latest version
>>>>> of ubuntu. After that I created the superuser, updated the ip and after
>>>>> that changed the local_settings.py (SITEURL = '
>>>>> http://10.0.2.15/geonode/') as on the docs
>>>>> <http://docs.geonode.org/en/dev/deploy/production.html>. But when I
>>>>> try to reach that page it appears "page not found". The homepage of geonode
>>>>> remains http://10.0.2.15
>>>>> Am I missing something here? Can you help me? If you need any kind of
>>>>> information, please ask.
>>>>>
>>>>> Best regards and thank you in advance,
>>>>> Ivo
>>>>>
>>>>> --
>>>>> Ivo Santos
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>
>>>
>>>
>>> --
>>> Ivo Santos
>>>
>>
>>
>>
>> --
>> Simone
>>
>
>
>
> --
> Ivo Santos
>



-- 
Ivo Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160112/6e306903/attachment.html>


More information about the geonode-users mailing list