Tags:
create new tag
view all tags

Question

I have modified my Apache httpd.conf script to get ShorterURLs, but I had to make one modification. I could not use "viewauth" in the mod_rewrite rules because there is no file called "viewauth" in the /bin directory, and I was getting Error 404's because of it. So I had to change "viewauth" to "view", which works.

However, ShorterURLs says that using just "view" is dangerous because the script can get into an infinite loop, but that some modification to TWiki.pm may be possible to avoid this. What modification is this, how do I change TWiki.pm to prevent this infinite loop or any other Bad Things because I use "view" instead of "viewauth" in my mod_rewrite rules?

Thanks in advance.

  • TWiki version: 10 Dec 2002
  • Perl version: 5.6.1
  • Web server & version: apache
  • Server OS: debian
  • Web browser & version:
  • Client OS:

-- AdamTheo - 24 Dec 2002

Answer

This may be the root of your performance problems - try creating viewauth as a symbolic link to view, and then use viewauth in your rules. If things speed up a lot, you had an infinite loop in mod_rewrite (probably).

-- RichardDonkin - 27 Dec 2002

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-02-08 - TWikiAdmin
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.