Question
Hello
I'm currently trying to get my wiki running save. After my other postings it seems that i'm locked out. Always get 403 Forbidden!
Need immediately help
Environment
--
MarcWidmer - 15 May 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Now it says the following :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I tried to fix something on a .htaccess in the root (TWiki is in the /twiki folder) can this influence twiki ?
--
MarcWidmer - 15 May 2007
And that's what the server_errorlog says:
Tue May 15 19:32:46 2007] [error] 17709:
ModPerl::Registry: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_a5e5aa2cf71f96f57f61476ab5d10e4b': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274.!
[Tue May 15 19:33:23 2007] [error] 17644:
ModPerl::Registry: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_a5e5aa2cf71f96f57f61476ab5d10e4b': Permission denied at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301.!
[Tue May 15 19:33:27 2007] [error] 17638:
ModPerl::Registry: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_a5e5aa2cf71f96f57f61476ab5d10e4b': Permission denied at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301.!
[Tue May 15 19:33:47 2007] [error] 17926:
ModPerl::Registry: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_a5e5aa2cf71f96f57f61476ab5d10e4b': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274.!
[Tue May 15 19:33:51 2007] [error] 18001:
ModPerl::Registry: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_a5e5aa2cf71f96f57f61476ab5d10e4b': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274.!
--
MarcWidmer - 15 May 2007
In configure.pl i can switch off
Sessions
You can use persistent CGI session tracking even if you are not using login. This allows you to have persistent session variables - for example, skins. Client sessions are not required for logins to work, but TWiki will not be able to remember logged-in users consistently. See
TWikiUserAuthentication for a full discussion of the pros and cons of using persistent sessions. Session files are stored in the {TempfileDir}.
{UseClientSessions}?
then i can relogin to my wiki but authentification's not working anymore ...
Please help me
--
MarcWidmer - 15 May 2007
Make sure the
/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/ directory is readable/writable by your webserver user.
--
PeterThoeny - 15 May 2007
Now i can see the frontend but can't edit: TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
RCS: failed to create file path: Permission denied
Until yesterday it worked good for about 1 month. then i changed something in a htaccess-file in the root and now this.
can you imagine whats wrong ?
"tmp" is readable/writeableof course
--
MarcWidmer - 16 May 2007
Wed May 16 15:17:47 2007] [error] [client 212.41.101.14] Premature end of script headers: view.pl, referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:17:51 2007] [error] [client 212.41.101.14] [Wed May 16 15:17:51 2007] login.pl: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_bb43d74eb6e02f39513e111969af4809': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274. at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301., referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:22:27 2007] [error] [client 213.239.208.126] File does not exist: /home/httpd/vhosts/idotter.ch/httpdocs/files/rss.xml
[Wed May 16 15:32:17 2007] [error] [client 212.41.101.14] new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_bb43d74eb6e02f39513e111969af4809': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274., referer:
http://idotter.ch/twiki/bin/view.pl/
[Wed May 16 15:32:18 2007] [error] [client 212.41.101.14] Premature end of script headers: view.pl, referer:
http://idotter.ch/twiki/bin/view.pl/
[Wed May 16 15:32:32 2007] [error] [client 212.41.101.14] new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_bb43d74eb6e02f39513e111969af4809': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274., referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:32:32 2007] [error] [client 212.41.101.14] Premature end of script headers: view.pl, referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:32:40 2007] [error] [client 212.41.101.14] new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_bb43d74eb6e02f39513e111969af4809': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274., referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:32:40 2007] [error] [client 212.41.101.14] Premature end of script headers: view.pl, referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:32:44 2007] [error] [client 212.41.101.14] new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_bb43d74eb6e02f39513e111969af4809': Permission denied at /home/httpd/vhosts/idotter.ch/httpdocs/twiki/lib/TWiki/Client.pm line 274., referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:32:44 2007] [error] [client 212.41.101.14] Premature end of script headers: view.pl, referer:
http://idotter.ch/twiki/bin/view.pl/BezInformatik/WebHome
[Wed May 16 15:33:30 2007] [error] 5934:
ModPerl::Registry: new(): failed: load(): couldn't retrieve data: retrieve(): couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_1b6e504f5d7631075cb62b31bbb85ee1': Permission denied at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301.!
--
MarcWidmer - 16 May 2007
couldn't open '/home/httpd/vhosts/idotter.ch/httpdocs/twiki/tmp/cgisess_bb43d74eb6e02f39513e111969af4809': Permission denied is an indication that the webserver user (
www-run,
nobody or the like) has no access to the
twiki/tmp directory, or the files in it. Please fix the permissions.
--
PeterThoeny - 06 Jul 2007