Has anyone been able to make this work? They've got an older version of Perl installed so I compiled a local version of the newest release but I still get 500 errors. Permissions are all set right, .htaccess is proper, scripts point to the local version of perl.
Yes. All I did was copy Wakaba 2.0.4 on, set permissions, make a MySQL database, and fiddle with config.pl a bit.
Wakaba runs just fine on Perl 5.6.0, and several of the WAKAchan boards run on Dreamhost, as far as I know. What does error_log say about the errors? Also, does this work? http://wakaba.c3.cx/sup/kareha.pl/1102836129/6
The error I was getting is "premature end of headers" - Also, I forgot I was trying to install Wakaba Zero, although Kareha was giving me the same problem. I'll try to install Wakaba proper when I get home this evening and see how that goes.
Zero won't work on Dreamhost - it needs Perl 5.8.0... Kareha and Wakaba should both work, though.
Also, Zero is just about to be DEPRECATED!
what WaHa said allready really, but theres a large amount of wakachan wakaba boards on dreamhost allready, i host 6 of them myself on dreamhost alone for example!
>>6
Kill it, kill it!
I am a total noob and can't get Wakaba to do anything other then list perl scripts on my new Dreamhost account, ex: http://muchan.org/test.pl
I think i've tried everything I saw on the wiki, and here...
Spammy stuff below so that (hopefully) I can't be accused of providing too little info
[peso]$ ls -al
total 180
drwxrwxr-x 8 muchan pg169033 4096 Feb 25 15:48 .
drwxr-xr-x 3 muchan pg169033 4096 Feb 25 16:12 ..
-rw-rw-r-- 1 muchan pg169033 525 Feb 25 15:56 .htaccess
-rwxr-xr-x 1 muchan pg169033 9898 Feb 11 21:12 captcha.pl
-rwxr-xr-x 1 muchan pg169033 9425 Feb 25 15:36 config.pl
-rwxr-xr-x 1 muchan pg169033 6619 Feb 19 02:45 config_defaults.pl
drwxrwxr-x 2 muchan pg169033 4096 Feb 13 17:40 css
-rw-rw-r-- 1 muchan pg169033 496 Feb 25 15:48 example.htaccess
drwxrwxr-x 4 muchan pg169033 4096 Feb 11 21:11 extras
-rwxr-xr-x 1 muchan pg169033 19877 Feb 19 02:44 futaba_style.pl
drwxrwxr-x 2 muchan pg169033 4096 Feb 3 00:14 include
drwxrwxr-x 2 muchan pg169033 4096 Jul 29 2004 res
-rw-rw-r-- 1 muchan pg169033 1557 Feb 7 18:33 spam.txt
drwxrwxr-x 2 muchan pg169033 4096 Jul 29 2004 src
-rwxr-xr-x 1 muchan pg169033 9809 Feb 2 23:36 strings_en.pl
-rwxr-xr-x 1 muchan pg169033 121 Feb 25 16:04 test.pl
drwxrwxr-x 2 muchan pg169033 4096 Jul 29 2004 thumb
-rw-rw-r-- 1 muchan pg169033 894 Sep 11 21:20 wakaba.ico
-rw-rw-r-- 1 muchan pg169033 3848 Feb 10 22:39 wakaba.js
-rwxr-xr-x 1 muchan pg169033 38142 Feb 18 20:44 wakaba.pl
-rwxr-xr-x 1 muchan pg169033 18666 Feb 14 01:12 wakautils.pl
[peso]$ cat .htaccess
Options +ExecCGI
AddHandler cgi-handler .cgi .pl
DirectoryIndex wakaba.html index.html
AddCharset utf-8 html
<Files *.sql>
Deny from all
</Files>
<IfModule mod_headers.c>
<Files *.html>
Header add Expires "Mon, 26 Jul 1997 05:00:00 GMT"
Header add Pragma "no-cache"
Header add Cache-Control "max-age=0; must-revalidate; no-cache"
Header unset Vary
</Files>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteRule \.html$ - [T=application/xhtml+xml]
</IfModule>
[peso]$ which perl
/usr/local/bin/perl
[peso]$ cat test.pl
#!/usr/local/bin/perl
print "Content-Type: text/html\n\n";
print "<html><body><h1>Perl is working!</h1></body></html>";
[peso]$ head wakaba.pl
#!/usr/local/bin/perl
use CGI::Carp qw(fatalsToBrowser);
use strict;
use CGI;
use DBI;
Did you actually try to hit wakaba.pl through the browser?
If 'hit' means the same thing as paste in my URL bar and press return, yeah- it lists the script contents just like test.pl.
Ah right, didn't notice the link at first. Hmm, that seems funny. I'll leave this to someone who knows a bit more about the setup at Dreamhost, though, because I don't know what trickery to use...
Huh?
#!/usr/bin/perl
That was at the head of my wakaba.pl. Did you change something from 2.0.4?
I changed that in an attempt to fix my problem, but #!/usr/bin/perl didn't work either.
That's not the problem, because Apache is not even trying to run the script. I don't know why, though, it may be that you need to edit the apache config directly, but I don't know if you can do that on Dreamhost.
OK, I guess I'll look around Dreamhost's site and then e-mail them about it if I find nothing.
Working now.
1) for some reason my .htaccess was causing the script execution problem; removing it made the scripts work
2) the wakaba directory was world-writeable and mod_suexec didn't like that
Thanks for trying to help. :)
mod_suexec sure can be a whiny little bitch.
So is anyone running wakaba on dreamhost these days? What do you think about their services. I'm thinking about choosing them.
>>19
http://wakaba.c3.cx/sup/kareha.pl/1147353834/
> I've now (temporarily, at least) moved the site over to dmpk2k's Dreamhost account.
>>19 Pretty good. No complaints, at any rate.
If you do go with them, pass the rewards credit onto cyril, I'm sure he's appreciate it.
http://www.dreamhost.com/rewards.cgi?cyrilthefish