Hi,
I have a problem with kwiki: when saving a page that I have edited. I get this
error message:
-------
Can't open file 'database/PersonalPage' for output:
Permission denied at lib/Spoon/ContentObject.pm line 92
at lib/Spoon/Base.pm line 89
Spoon::Base::__ANON__('Can\'t open file \'database/PersonalPage\' for
output:
Permis...') called at /usr/lib/perl5/5.8.8/Carp.pm line 269
Carp::croak('Can\'t open file \'database/PersonalPage\' for output:
Permis...') called at lib/IO/All.pm line 736
IO::All::throw('IO::All::File=GLOB(0x85811fc)', 'Can\'t open file
\'database/PersonalPage\' for output:
Permis...') called at lib/IO/All/File.pm line 84
IO::All::File::open('IO::All::File=GLOB(0x85811fc)') called at
lib/IO/All/File.pm line 52
IO::All::File::assert_open('IO::All::File=GLOB(0x85811fc)', '>') called
at lib/IO/All/Base.pm line 141
IO::All::Base::__ANON__('IO::All::File=GLOB(0x85811fc)', '== Créer sa
page web
Placez votre page sous [=$HOMEDIR/publi...') called at lib/IO/All/Base.pm line
150
IO::All::Base::__ANON__('IO::All::File=GLOB(0x85811fc)', '== Créer sa
page web
Placez votre page sous [=$HOMEDIR/publi...') called at
lib/Spoon/ContentObject.pm line 92
Spoon::ContentObject::store_content('Kwiki::Page=HASH(0x85653ec)')
called at lib/Spoon/ContentObject.pm line 75
Spoon::ContentObject::store('Kwiki::Page=HASH(0x85653ec)') called at
lib/Kwiki/Edit.pm line 48
Kwiki::Edit::save('Kwiki::Edit=HASH(0x84f82b8)') called at
lib/Kwiki/Edit.pm line 24
Kwiki::Edit::edit('Kwiki::Edit=HASH(0x84f82b8)') called at
lib/Spoon/Hub.pm line 42
Spoon::Hub::process('Kwiki::Hub=HASH(0x8260c18)') called at
lib/Kwiki.pm line 12
Kwiki::process('Kwiki=HASH(0x823776c)') called at
/var/www/cgi-bin/atollkwiki/index.cgi line 4
-------
I think this comes from a problem with my server configuration, but I'm not
sure.
In the file /etc/httpd/conf/httpd.conf of my machine, I have added this:
Alias /kwiki/ "/var/www/cgi-bin/atollkwiki/"
<Directory /var/www/cgi-bin/atollkwiki/>
Order allow,deny
Allow from .inria.fr
AllowOverride All
Options ExecCGI
AddHandler cgi-script .cgi
</Directory>
Do you know what is wrong with my configuration ?
The thing is I can access the kwiki, the kwiki looks good with the stylesheet and all and I can edit a page,
but when I click on the save button, I get this error. I suppose there is a problem of path somewhere
and the directory database/ cannot be found.
Best regards,
IC
--
Isabelle Cabrera