I have an OSQA site running, and i can login via google for mydomain.com or www.mydomain.com, but only one of these is authenticated ie, if i login via google to mydomain.com, i am not logged in to www.mydomain.com. How do i fix this?

asked 23 Jan '11, 01:56

zsquare's gravatar image

zsquare
51135
accept rate: 0%


Use PREPEND_WWW

Open settings.py then add PREPEND_WWW = 1 on any line.

Example

SITE_ID = 1
PREPEND_WWW = 1

non-www will redirect to www.domain.com

link

answered 23 Jan '11, 07:54

haha's gravatar image

haha
7618
accept rate: 50%

Thanx that worked. Just curious though, is that a OSQA setting or a Django setting?

(25 Jan '11, 01:57) zsquare

Thanks! Worked for me on a site running SVN-989.

(03 May '11, 01:25) dharmatech
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×41
×41

Asked: 23 Jan '11, 01:56

Seen: 633 times

Last updated: 03 May '11, 01:26

powered by OSQA