Question
I am using TWiki as part of an authenticated intranet. The problem is that I can't easily set the REMOTE_USER variable, so I thought I would hack TWIKI to use the HTTP_AUTH_USER variable which I can set.
So thinking myself clever I made the following changes:
I replaced all instances of remote_user(); with http( 'AUTH_USER')
and replaced instances of REMOTE_USER with HTTP_AUTH_USER
So this looks like it works fine, I can register normally and my signature shows up fine and everything...
except
When I edit, I still make changes as guest.

If I put the % USERNAME % variable (spaces intentionally put in so it doesn't get parsed) in a page, when I look at the page it has my login-name but when I preview the page it says: guest.
any suggestions?
.
- TWiki version: April 2002
- Web server: AOLserver
- Server OS: Redhat Linux 7.2
- Web browser: Netscape 4.7.x
- Client OS: Redhat 6.1
--
CarlCoryellMartin - 03 May 2002
Answer
OOPS, I wasn't setting this variable on HTTP POSTS. Sorry, everything is fine now. This could be deleted.
.