This question about Configuration: Answered

Unable to configure my Foswiki 1.0.4

Hi.

I did a new installtion of Foswiki 1.0.4, and have configured the site (new extensions etc).

The site has been running for a couple of days. Next I wantet do do some more configuration, but are not not able to start of the configure script. It enters a access denied page saying that

Attention

The "Foswiki" web does not exist

A Foswiki site is divided into webs; each one represents one subject, one area of collaboration. You are trying to 'view' in a web that does not exist. ....


My web is not named Foswiki, it simply "Main" and "System" etc... The site os working ok, it's only when I enter the confguration script that this appear. Have anyone experienced this with the new foswiki before?

BR

Atle Briskemyr

Found the problem. The apache conf file had a wrong web file entry for ErrorDocument. Changed the 'web' from Foswiki to System, and I was able to run configuration.


Not too hard to figure out from the above, but here's just a few more details which might help anyone else with this issue.

The error page looks like:-

foswiki_configure_error.jpg

To fix this go to wherever you installed your webserver (I'm using apache)

<some_directory>/httpd/conf

Edit foswiki.conf

Change:  
ErrorDocument 401 /foswiki/bin/view/Foswiki/UserRegistration

to

ErrorDocument 401 /foswiki/bin/view/System/UserRegistration

Restart Apache.

It should now work.

-- ConnellMcMenamin - 27 Mar 2009

thanks for the update, though i'm concerned where do you get the ErrorDocument line that says /Foswiki/ ? do we have some files or documentation to repair?

the sample foswiki_httpd_conf.txt that comes with 1.0.4 says:

    # File to return on access control error (e.g. wrong password)
    # By convention this is the UserRegistration page, that allows users
    # to register with the Foswiki. Apache requires this to be a *local* path.
    # Comment this out if you setup Foswiki to completely deny access to WikiGuest
    # in all webs or change the path to a static html page.
    ErrorDocument 401 /foswiki/bin/view/System/UserRegistration
    # Alternatively if your users are all known to be registered you may want
    # to redirect them to the ResetPassword page.
    # ErrorDocument 401 /foswiki/bin/view/System/ResetPassword

-- WillNorris - 27 Mar 2009

QuestionForm edit

Subject Configuration
Extension
Version
Status Answered
I Attachment Action Size Date Who Comment
foswiki_configure_error.jpgjpg foswiki_configure_error.jpg manage 42 K 27 Mar 2009 - 11:44 ConnellMcMenamin Foswiki configure error page
Topic revision: r4 - 27 Mar 2009, WillNorris
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy