Question
I have two functioning TWiki sites (01 Feb 2003 and 01-Dec-2001). Both (nearly) identical
RedHat? 8.0 systems. On the older system, basic edit authentication works perfectly - Users log on when they try to edit, the variables are properly populated, etc. On the new system, users can log on and the footer shows up properly with their user name, but they always get an access denied when they actually try to edit (I have triple checked all 'Allow' options, set-up guides and the support site). I know something is wrong because after logon, the variables %WIKINAME%, %USERNAME% and %WIKIUSERNAME% all point to guest on the non-functioning system
(I can't help but notice that while previewing this topic, the variables showed up correctly with my user name!). I know that in view mode they will always do that on a system that only uses authentication for editing, but in preview mode I should see the real user name, which is how it works on the older system.
I have double-checked 'testenv', file permissions, Apache logs, etc (doesn't mean I didn't miss something!).
If I don't set the ALLOWWEBCHANGE, it works fine (basically just requiring a valid user account). This would probably be OK in our environment, but I can't help but think there is something wrong.
- TWiki version: 01 Feb 2003
- Perl version: 5.8.0
- Web server & version: Apache 2.0.40
- Server OS: RedHat? 8.0
- Web browser & version: IE 6 (mostly)
- Client OS: Windows (mostly)
--
JohnShearer - 30 Mar 2003
I just did some further testing: Did I mention I was using the gnu skin? I'm using the gnu skin (on both systems, actually). When I remove the gnu skin it works properly. I guess now I rephrase the question as a
GnuSkin question and start looking for answers there. Help still appreciated, though!
--
JohnShearer - 30 Mar 2003
Answer
And now I have anserewed it myself: The problem is that the most recent
GnuSkin uses a different script for saving than the old one. That script is 'gnusave'. If you are using authentication for editing, you must add this script to your .htaccess file in /twiki/bin
--
JohnShearer - 31 Mar 2003