We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
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

Topic revision: r3 - 06 Dec 2001 - 06:50:43 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback