Talk:News/2020 Toolforge.org domain introduction
Appearance
Latest comment: 4 years ago by BryanDavis in topic Cookies
Consider redirects in local .lighttpd.conf file
This file, located in the home directory of the various tools may contain redirects.
Example line (from persondata tool)
- url.rewrite-once += ( "/persondata/p/(.+)" => "/persondata/person.php?title=$1" )
Those lines need to be changed to
- url.rewrite-once += ( "/p/(.+)" => "/person.php?title=$1" )
Actually, you need to duplicate those lines until the transition is finished. --Wurgl (talk) 21:32, 21 April 2020 (UTC)
- Thanks for the reminder! I had this in my notes at some point, but it didn't make it to the doc. Special:Diff/1863905 --BryanDavis (talk) 22:30, 21 April 2020 (UTC)
Firefox Plugin NoScript
Some users may use that plugin. It works perfect and happily blocked scripts from toolforge.org, leaving a desperate Wurgl … but I found that problem! --Wurgl (talk) 12:45, 27 May 2020 (UTC)
Cookies
In case your application sets cookies, you need to change the path where that cookie is valid, PHP example code:
- document.cookie = "template_editor=" + cval + ";expires=" + date.toUTCString() + "; path=/persondata/vorlagen/";
Change to:
- document.cookie = "template_editor=" + cval + ";expires=" + date.toUTCString() + "; path=/vorlagen/";
--Wurgl (talk) 06:29, 30 May 2020 (UTC)
- Thanks for leaving the note about this Wurgl. This is related to News/2020 Toolforge.org domain introduction#Flask_and_cookies and the "TODO" there to expand the information to cookies in general. --BryanDavis (talk) 19:09, 31 May 2020 (UTC)