Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
from irc
[09:17] * alfredo (alfredo_@190.199.160.102) has joined #foswiki
[09:17] <alfredo> Hi everybody
[09:19] <alfredo> I had installed 3 times but I always have to use a workaround to make it work. If I enable the "short urls" option, on the Apache Configurator I always get the following error: http://pastie.org/835988
[09:20] <alfredo> O I disable this 3 lines and everything works: Alias / "/var/foswiki/bin/view/"
[09:20] <alfredo> RewriteRule ^/+bin/+view/+(.*) /$1 [L,NE,R]
[09:20] <alfredo> RewriteRule ^/+bin/+view$ / [L,NE,R]
[09:20] <alfredo> I just wanted to let people know about this. Maybe one of the developers is online
and from the pastebin
oftware error:
Content-type: text/plain
Perl error when reading LocalSite.cfg:
Please inform the site admin.
at /usr/share/perl/5.10/CGI/Carp.pm line 356
CGI::Carp::realdie('Content-type: text/plain\x{a}\x{a}Perl error when reading LocalSite.c...') called at /usr/share/perl/5.10/CGI/Carp.pm line 437
CGI::Carp::die('Content-type: text/plain\x{a}\x{a}Perl error when reading LocalSite.c...') called at /var/foswiki/lib/Foswiki/Configure/Load.pm line 56
Foswiki::Configure::Load::readConfig() called at /var/foswiki/lib/Foswiki.pm line 269
Foswiki::BEGIN() called at LocalSite.cfg line 498
eval {...} called at LocalSite.cfg line 498
require Foswiki.pm called at /var/foswiki/bin/view line 43
main::BEGIN() called at LocalSite.cfg line 498
eval {...} called at LocalSite.cfg line 498
BEGIN failed--compilation aborted at /var/foswiki/lib/Foswiki.pm line 498.
at /var/foswiki/lib/Foswiki.pm line 498
require Foswiki.pm called at /var/foswiki/bin/view line 43
main::BEGIN() called at /var/foswiki/lib/Foswiki.pm line 498
eval {...} called at /var/foswiki/lib/Foswiki.pm line 498
Compilation failed in require at /var/foswiki/bin/view line 43.
at /var/foswiki/bin/view line 43
main::BEGIN() called at /var/foswiki/lib/Foswiki.pm line 43
eval {...} called at /var/foswiki/lib/Foswiki.pm line 43
BEGIN failed--compilation aborted at /var/foswiki/bin/view line 43.
at /var/foswiki/bin/view line 43
For help, please send mail to the webmaster (webmaster@foswiki), giving this error message and the time and date of the error.
I'm thinking that alfredo's installed foswiki using the debian package, and then used the apacheConfigurator - which is not an expected thing :/ there is a shorterurl config in /etc/foswiki that can be used (ok, so it works for me)
--
SvenDowideit - 21 Feb 2010
The
ErrorDocument is a bad idea in general, when it comes to applying to configure. See also
Support.Faq19
--
PaulHarvey - 22 Feb 2010
I think I fixed this in the recent
ApacheConfigGenerator.
ErrorDocument for configure is now set to "default" which causes it to use the apache default messages.
--
GeorgeClark - 22 Aug 2010
Also updating the supplied
bin/.htaccess.txt
to use a "default" document for configure.
--
GeorgeClark - 22 Aug 2010