I have tried following in my settings.py 
DOMAIN_NAME = *"mydomainname.com"* 

CSRF_COOKIE_DOMAIN = DOMAIN_NAME
But still my csrf  _utma _utmz cookies are set to ip address as domain


On Friday, June 20, 2014 1:54:01 PM UTC+2, i bigoss wrote:
>
> Thank you Pahaz,
>
> I can send forms with following  setting: 
>  block cookies and other website data - set to never
>  however default setting for my safari seems to be:  from thirds parties 
> and advertisers.
> looking at the cookies from my website 
> some of them have domain : mysitesdomain.com
>  and some including csrftoken have my sites ip address instead.
> I think does with ip are treated as 3rd party. 
> How can i change ip to domain name ? does it have anything to do with my 
> nginx settings?
>
> Kind regards
>
> Jaroslaw
>
> On Thursday, June 19, 2014 11:22:55 AM UTC+2, Pahaz Blinov wrote:
>>
>> Please, watch in you browser dev tools: sending or no input param 
>> `csrftoken`?
>>
>> On Wednesday, June 18, 2014 12:14:03 AM UTC+6, i bigoss wrote:
>>>
>>> Hi ,
>>>
>>> I've set up a basic site on remote server with Mezzanine. It works like 
>>> a charm and is almost out of the box if I compare it to django cms
>>> I have not used fabric as due to  poor documentation it was to hard for 
>>> me to make it work.
>>> However now the site is on the server. I am using nginx and gunicorn / 
>>> supervisor. There are other sites on my server. Each site uses different 
>>> port to proxy between nginx and gunicorn. Everything works well beside the 
>>> fact that I can't log in or register new account using safari 7.0.4
>>> Other browsers works,  tested with chrome, opera and ff not sure about 
>>> ie..
>>> Each time I am trying to log in on safari I get 403 forbidden CSRF 
>>> verification failed. Request aborted.
>>> with Debug true I se some more info: 
>>>
>>> Reason given for failure:
>>>
>>>     CSRF cookie not set.....
>>>
>>>
>>> Does anyone know what can possibly cause it ?
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>> Jaroslaw
>>>     
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to