Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-13 Thread valerio orfano
Sorry the correct address www.mydomain.com/nuovopatentdb/static/images/giphy.gif but in my template i get www.mydomain.com/static/images/giphy.gif

Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-13 Thread valerio orfano
Hi the problem is that i want to mount django app on a subfolder of my root url that is www.mydomain.com. Pratically www.mydomain.com/nuovopatentdb (nuovopatentdb is not really existing , it is used for natting the address to local address) is natted to my django server 10.184.2.231. Now setting

Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-10 Thread Antonis Christofides
Hi, sorry but this is not clear. You have one server, 10.184.2.231, that has both your django app and your static files? www.uibm.gov.it seems to be another server, 88.49.250.43. www.mydomain.com is a placeholder you are using for www.uibm.gov.it? Antonis Christofides http://djangodeployment.com

Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-10 Thread ludovic coues
This look like an issue with your apache configuration 2017-03-09 18:20 GMT+01:00 valerio orfano : > Hi, > > i want to claim that www.mydomain.com is not the FQDN of my server where > django app is installed, but it's another server that redirect to my django > app. > > thanx valerio > > > On Thu

Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-09 Thread valerio orfano
Hi, i want to claim that www.mydomain.com is not the FQDN of my server where django app is installed, but it's another server that redirect to my django app. thanx valerio On Thursday, March 9, 2017 at 3:35:26 PM UTC+1, valerio orfano wrote: > > Yes, http//10.184.2.231/static/images/giphy.gif

Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-09 Thread valerio orfano
Yes, http//10.184.2.231/static/images/giphy.gif works out properly but www.uibm.gov.it/ static/images/giphy.gif does not work. On Wednesday, March 8, 2017 at 3:34:23 PM UTC+1, Antonis Christofides wrote: > > You say that you "run manage.py collectstatic and everything is

Re: Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-08 Thread Antonis Christofides
You say that you "run manage.py collectstatic and everything is fine when i use the root url. |http//10.184.2.231| it is ok and static files are served properly", and then you say that http://www.mydomain/static/images/giphy.gif gives 404 (Not Found). Is |http//10.184.2.231/|static/images/giphy.gi

Full domain url subfolder redirected my django application with apache with mod_wsgi

2017-03-08 Thread valerio orfano
I've been facing the following problem. I got django 1.9 integrated with apache 2.4+ via mod_wsgi application. I run manage.py collectstatic and everything is fine when i use the root url. http//10.184.2.231 it is ok and static files are served properly. Actually i will be redirected to my d