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.
Editing COOKIE_DOMAIN in conf/settings.php
Is there some sort of trick to editing the cookie domain? I currently have mine set up to 'domain.com' and would like to change it to '.domain.com' but for some reason when I edit the conf/settings.php, the setting doesn't change the cookie being set.
Am I missing something?
0
This discussion has been closed.
Comments
If it didn't, then you need to change your permissions on conf/settings.php so that it can be opened, edited, and saved by PHP.
If it did take, then you need to erase your existing cookies before the new ones will take. You can do this through your browsers menus. Simply signing out won't work because now that you've changed the cookie domain, when vanilla tries to delete your cookies as you sign out, it references the NEW domain and doesn't find anything to delete.
// in .htaccess at the root of 'domain.com' dir and any other subdomain's dir php_value session.cookie_domain ".domain.com"
Thanks again, looking forward to more vanilla goodness.