Authentication issue when deploy to subdirectory (/qa) and enable private mode ?
 

Recently I've moved my Askbot instance to a subdirectory of Apache (myhost.com/qa). After performing some editing in askbot's setting.py file, the site looks good.

However, when I enable private forum mode ( Admin > Access control settings > Allow only registered user to access the forum = True ). I couldn't access the website.

For every page I tried to access, it redirects me to 404 not found page. It seems to me that the login page /qa/account/signin/?next=/qa/ is somehow protected by unauthorized users. My guest is when develop the subdirectory mode, somehow the login page is not taken into account.

Could you please help? Thanks. My Askbot version is 0.7.48

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Vu Quang Chien's avatar
43
Vu Quang Chien
asked 10 years ago

Comments

see more comments