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
You are here: TWiki> Support Web>ApacheErrorsDuringEdit (02 Jan 2006, PeterThoeny)
Tags:
create new tag
, view all tags

Question

I'm seeing the following error in my httpd error log:

[Wed Nov 02 14:36:32 2005] [error] [client 10.2.3.109] File does not exist: /usr /local/www/twiki/usr, referer: http://somehost.west.cmu.edu/twiki/bin/view/Internal/ TWikiAdminNextSteps?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin? , SpreadSheetPlugin? , CommentPlugin? , EditInTablePlugin? , EditTablePlugin? , HeadlinesPlugin? , InterwikiPlugin? , RenderListPlugin? , SlideShowPlugin? , SmiliesPlugin? , TablePlugin?
Server OS: FreeBSD 5.4-RELEASE-p8
Web server: Apache/2.0.55 (FreeBSD) PHP/4.4.0 DAV/2 SVN/1.2.3 Server
Perl version: 5.8.7
Client OS: Windows XP/Mac OS X/FreeBSD
Web Browser: Firefox/IE
Categories: System logs

I did some "find -exec greps" for "File does not exist" and it does not seem to be coming from TWiki code. It could be Perl, Apache, or FreeBSD. Has anyone seen this before? I saw the note about .htaccess file (http://twiki.org/cgi-bin/view/Support/PathVarForTWikiRegistration). However I examined the .htaccess file and there does not seem to be a typo there. I'll attach that as well.

Help is appreciated and thanks in advance!

BTW I have changed the FQDN and server admin mail list in the attached testenv output. -- MarkYoshikawa - 04 Nov 2005

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

If I am looking at this right, there are inconsistent file paths:

http://somehost.west.cmu.edu/twiki/bin/view/Internal/ TWikiAdminNextSteps? ?

and

/usr /local/www/twiki/usr

and from your testenv output

$dataDir: /usr/local/www/twiki/data

Note
This is the data directory where TWiki stores all topics.

You might start by looking here.

-- SteveRJones - 05 Nov 2005

Thanks Steve, but it seems with any page that I edit, this error occurs. I'm pretty sure I included $dataDir in the path where I did the find -exec. I tried to look for the string in the files in the whole distribution dir of "twiki/usr" and came up with nothing. I realize however that possibly the DOCUMENT_ROOT variable which is /usr/local/www/twiki might somehow have "/usr" appended to it. I did the same thing for that, find . -exec grep -H "usr" {} \; | less and then searched for DOCUMENT_ROOT. Maybe I'm not understanding how to look. Please let me know.

-- MarkYoshikawa - 12 Nov 2005

There seems to be an issue with DOCUMENT_ROOT and the TWiki path settings. If DOCUMENT_ROOT is set to /usr/local/www/twiki then REQUEST_URI would be /bin/testenv unless you specify individual directory settings in Apache's httpd.conf file.

If you set just the DOCUMENT_ROOT, all path settings need to be in relation to this, e.g. $scriptUrlPath = "/bin" and $pubUrlPath = "/pub".

-- PeterThoeny - 12 Nov 2005

Ok Peter Thanks! I'll check that out and will report what I find out.

-- MarkYoshikawa - 16 Nov 2005

 
Topic attachments
I Attachment Action Size Date Who Comment
txttxt .htaccess.txt manage 3.2 K 05 Nov 2005 - 01:23 MarkYoshikawa .htaccess file
htmlhtm testenv.htm manage 10.8 K 04 Nov 2005 - 23:45 MarkYoshikawa testenv output page
gifgif wikiHome.gif manage 2.8 K 04 Nov 2005 - 23:46 MarkYoshikawa The gif file displayed in the testenv page
Topic revision: r8 - 02 Jan 2006 - 19:34:48 - 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