It seems that the ebuild for piwi doesn't install correctly. Maybe it doesn't work well with the new webapp-config stuff? Reproducible: Always Steps to Reproduce: 1. emerge piwi 2. 3. Actual Results: http://127.0.0.1/piwi/index.pl gives an "500 Internal Server Error". In /var/log/apache/error_log this shows up: ---- Sat Oct 02 23:47:36 2004] [error] [client 192.168.0.4] mod_mime_magic: can't read `/var/www/localhost/htdocs/piwi/index.pl' [Sat Oct 02 23:47:36 2004] [error] [client 192.168.0.4] (13)Permission denied: exec of '/var/www/localhost/htdocs/piwi/index.pl' failed [Sat Oct 02 23:47:36 2004] [error] [client 192.168.0.4] Premature end of script headers: index.pl [Sat Oct 02 23:47:36 2004] [error] [client 192.168.0.4] File does not exist: /var/www/localhost/htdocs/favicon.ico ---- Expected Results: Going to "http://127.0.0.1/piwi/index.pl" should have shown the default PIWI page. I tried to correct the error manually. First I did a "chown -R apache:apache /var/www/localhost/htdocs/piwi/". In "/var/log/apache/error_log" the message changed to: ---- [Sat Oct 02 23:52:16 2004] [error] [client 192.168.0.4] Can't locate Functions/config.pl in @INC (@INC contains: /etc/perl/usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 .) at /var/www/localhost/htdocs/piwi/index.pl line 5. [Sat Oct 02 23:52:16 2004] [error] [client 192.168.0.4] Premature end of script headers: index.pl [Sat Oct 02 23:52:16 2004] [error] [client 192.168.0.4] File does not exist: /var/www/localhost/htdocs/favicon.ico ---- So next I did "cp /etc/piwi/config.pl /var/www/localhost/htdocs/piwi/Functions/;chown -R apache:apache /var/www/localhost/htdocs/piwi/". Now PIWI did jump automatically to "http://127.0.0.1/piwi/test/index.pl" to indicate: ---- Profiles/ directory perms : Profiles/ sub-dir is not readable by this webserver : No such file or directory . Do chown -R apacheuser.apachegrp Profiles/ ---- The "Profiles" are in fact in the "/etc/piwi" directory. So I did: cp -a /etc/piwi/Profiles/ /var/www/localhost/htdocs/piwi/ chown -R apache:apache /var/www/localhost/htdocs/piwi/ Now PIWI shows it's default page, but an error remains: "Impossible to save Filter to disk : No such file or directory".
What version of PIWI are you trying to emerge?
I have this problem on two machines running gentoo unstable, so it is version "net-analyzer/piwi-0.8.0.20031109-r3".
piwi removed - prewikki exists as a replacement.