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

Ivo Santos ivojfs at gmail.com
Wed Jan 13 01:50:22 PST 2016


Ok, can you tell me if geonode is compatible with suphp? I am trying to
explore if it is a compatibility issue.

2016-01-13 9:48 GMT+00:00 Simone Dalmasso <simone.dalmasso at gmail.com>:

> that is definitely an apache misconfiguration, maybe of the php module.
>
> 2016-01-13 10:43 GMT+01:00 Ivo Santos <ivojfs at gmail.com>:
>
>> Hi Simone,
>>
>> Yes, tomcat was already instaled. I used the geoserver.war on that link
>> and now that part is working great.
>>
>> For now the only problem it's just the link of the homepage. For example,
>> if I try to go to my homepage atlas.example.com I am being redirected to
>> atlas.example.com/init/index.php and not to the geonode homepage.
>> I had a previous configuration with another webgis using that subdomain.
>> Do you think it could be a wrong configuration on apache or on geonode?
>>
>> Thank you for all the help and guidance,
>> Ivo
>>
>> 2016-01-13 8:22 GMT+00:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>
>>> Hi Ivo,
>>>
>>> one of the reasons why the apt-get installation can fail could be that
>>> on the machine there were already installed some of the components, in this
>>> case tomcat maybe.
>>>
>>> anyway if you install geoserver manually be sure to use the one provided
>>> by geonode http://build.geonode.org/geoserver/latest/geoserver.war.
>>>
>>> what link is broken, exactly?
>>>
>>> 2016-01-13 1:23 GMT+01:00 Ivo Santos <ivojfs at gmail.com>:
>>>
>>>> Finnaly I got it almost working but for some reason it appears that
>>>> using the apt-get instalation, geoserver was not installed. Trying to
>>>> manual install it.
>>>> The homepage has also a problem. It's weird but it appears that
>>>> something redirects the link to some page that is not present on geonode.
>>>> All the other links are working correctly.
>>>>
>>>> Thank you!
>>>>
>>>> 2016-01-12 20:25 GMT+00:00 Ivo Santos <ivojfs at gmail.com>:
>>>>
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ivo Santos
>>>>
>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>>
>> --
>> Ivo Santos
>>
>
>
>
> --
> Simone
>



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


More information about the geonode-users mailing list