Tags:
create new tag
view all tags

Question

I just set up a TWiki instance of Windows using the WindowsInstallCookbook. I'm running my Apache service as a local user (apache_user, NOT using a system account), so when I re-locked the RCS files, I changed the locks from nobody to apache_user.

After starting up TWiki, I set up basic auth and am now able to edit my site after logging in. The problem is that every new page I create is locked in rcs by the system user. All of the original pages are still locked by apache_user; it's just the new ones that I'm having a problem with.

The end result is that my version numbers on the new pages never increase past 1.1.

Another odd side affect is that my changes to existing pages also aren't updated. When I edited the TWiki/WelcomeGuest page, it didn't increment the Rcs number. The page is updated, but I can view the diff. This page is "rcs-locked" by the apache_user.

So the new pages are rcs-locked by system and I can't increment the revision past 1.1. All existing pages are rcs-locked by apache_user, and I can't increment the rcs revision.

Thanks in advance for any help!

Also, I fogot to mention that I looked at the RCSNotTrackingChangesOrViews topic and, while it seems very similar, it did not fix my problem.

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2000
Web server: Apache 1.3.33
Perl version: v5.8.7 built for cygwin-thread-multi-64int
Client OS: Windows XP
Web Browser: Firefox and IE 6
Categories: Version control

-- TomPurl - 20 Sep 2005

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I fixed my own problem. When I ran http://url/bin/testenv, I found that my cgi scripts were running under the system user (by looking at the LOGNAME variable). I then edited httpd.conf LOGNAME directive so that it was apache_user instead of system, and re-locked my rcs files using a slight variation on the command found in the WindowsInstallCookbook.

-- TomPurl - 21 Sep 2005

Yes. And that makes me wonder whether IsRelockMandatory. Simply changing the SetEnv LOGNAME in the httpd.conf would be, if it works correctly as seems for me, a lot easier and less error prone than a relock.

-- JeromeBouvattier - 21 Sep 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-09-21 - JeromeBouvattier
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.