Tags:
create new tag
view all tags

Question

In the httpd-error.log of my webserver there is an error message like this:

File does not exist:/usr/local/www/data/wiki/usr/local/www/data/wiki/bin/oops/TWiki/TWikiRegistration

For me it looks like that I've set up an path variable in the wrong way. But in which variable this path is set?

There are no other problems in my use of the local twiki because of CantEditTWikiWebsTable. I can read and edit without any errors. Maybe there is an connection between the two topics?! .

  • TWiki version: September 2001
  • Web server: Apache 1.3.22
  • Server OS: FreeBSD 4.4
  • Web browser: Konqueror
  • Client OS: FreeBSD 4.4

-- MatthiasTeege - 01 Dec 2001

More info

it looks like a problem with the apache config and the htaccess authentification. The part of my httpd.conf looks like:

<VirtualHost 192.168.153.10>
    ServerName wiki.mteege.de
    DocumentRoot /usr/local/www/data/wiki
    User nobody
    Group nogroup
    DirectoryIndex bin/view/Main/WebHome
    ScriptAlias /bin/ "/usr/local/www/data/wiki/bin/"
    Alias / "/usr/local/www/data/wiki/"
    <Directory "/usr/local/www/data/wiki/bin">
    #<Directory "/bin">
       Options +ExecCGI
       SetHandler cgi-script
       Allow from all
       AllowOverride all
    </Directory>
    <Directory "/usr/local/www/data/wiki/pub">
       Options FollowSymlinks +Includes
       AllowOverride None
       Allow from all
    </Directory>
</VirtualHost>

If I change the first Directory statement to "/bin" the error didnt appear. But in this case the htaccess auth didnt work anymore.

-- MatthiasTeege - 04 Dec 2001

Answer

The path of the document displayed after a failed login is defined in .htaccess, you need to customize it there. For the TWiki 01 Dec 2001 release it is:

ErrorDocument 401 /urlpath/to/TWiki/bin/oops/TWiki/TWikiRegistration?template=oopsauth

-- PeterThoeny - 05 Dec 2001

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2001-12-06 - PeterThoeny
 
  • 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.