Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Version 1.1.2, Cookies and Modrewrite

I've got a problem with cookies and URLs that are outside of the path of Vanilla due to modrewrite.

Pages within the path to Vanilla (http://www.houseblogs.net/community) work fine but any page outside of that (e.g., http://www.houseblogs.net/topics) don't apparently find/recognize the Vanilla cookie.

I've tried the changes that Mark recommends for 1.1.2 upgrades here but no luck. I've tried both the following settings in the conf/settings.php file...

$Configuration['COOKIE_DOMAIN'] = 'www.yoursite.net';

$Configuration['COOKIE_DOMAIN'] = '.yoursite.net';

Ideas?

Comments

  • I figured it out.

    For others who might encounter this problem, I simply had to modify the conf/settings.php file so that the cookie path was at the root level of the site.

    $Configuration['COOKIE_DOMAIN'] = '.yoursite.net'; $Configuration['COOKIE_PATH'] = '';
  • Changing it to:

    $Configuration['COOKIE_DOMAIN'] = '.yoursite.net'; $Configuration['COOKIE_PATH'] = '/';

    Worked for me.
This discussion has been closed.