Wakaba/Kareha on Dreamhost (71)

1 Name: n1ko 2005-02-21 16:21 ID:SRIIVZIR (Replies) [Del]

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.

2 Name: Anonymous 2005-02-21 16:39 ID:QKTu65m0 (Replies) [Del]

Yes. All I did was copy Wakaba 2.0.4 on, set permissions, make a MySQL database, and fiddle with config.pl a bit.

3 Name: !WAHa.06x36 2005-02-21 17:43 ID:FqgLpoAw (Replies) [Del]

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

4 Name: n1ko 2005-02-22 17:10 ID:rwCUbKVZ (Replies) [Del]

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.

5 Name: !WAHa.06x36 2005-02-22 17:25 ID:DceU83+z (Replies) [Del]

Zero won't work on Dreamhost - it needs Perl 5.8.0... Kareha and Wakaba should both work, though.

6 Name: !WAHa.06x36 2005-02-22 17:51 ID:DceU83+z (Replies) [Del]

Also, Zero is just about to be DEPRECATED!

7 Name: cyrilthefish!ljAhqzG3aU 2005-02-22 20:00 ID:H+vZJr9G (Replies) [Del]

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!

8 Name: !DEEPjKeito 2005-02-23 14:23 ID:Heaven (Replies) [Del]

>>6
Kill it, kill it!

9 Name: Anonymous 2005-02-25 19:30 ID:qUudewrb (Replies) [Del]

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;

10 Name: !WAHa.06x36 2005-02-25 20:08 ID:7ejXpF4X (Replies) [Del]

Did you actually try to hit wakaba.pl through the browser?

11 Name: 9 2005-02-25 20:18 ID:qUudewrb (Replies) [Del]

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.

12 Name: !WAHa.06x36 2005-02-25 21:01 ID:7ejXpF4X (Replies) [Del]

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...

13 Name: Anonymous 2005-02-26 02:03 ID:31ZTCxAf (Replies) [Del]

Huh?

#!/usr/bin/perl

That was at the head of my wakaba.pl. Did you change something from 2.0.4?

14 Name: 9 2005-02-26 04:05 ID:qUudewrb (Replies) [Del]

I changed that in an attempt to fix my problem, but #!/usr/bin/perl didn't work either.

15 Name: !WAHa.06x36 2005-02-26 07:54 ID:7ejXpF4X (Replies) [Del]

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.

16 Name: 9 2005-02-26 14:26 ID:iEEls9fQ (Replies) [Del]

OK, I guess I'll look around Dreamhost's site and then e-mail them about it if I find nothing.

17 Name: 9 2005-02-26 14:42 ID:iEEls9fQ (Replies) [Del]

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. :)

18 Name: !WAHa.06x36 2005-02-26 14:49 ID:+S1qVTsT (Replies) [Del]

mod_suexec sure can be a whiny little bitch.

19 Name: Anonymous : 2006-05-12 08:02 ID:E/UUd5sx [Del]

So is anyone running wakaba on dreamhost these days? What do you think about their services. I'm thinking about choosing them.

20 Name: Anonymous : 2006-05-12 08:27 ID:Heaven [Del]

>>19
http://wakaba.c3.cx/sup/kareha.pl/1147353834/

> I've now (temporarily, at least) moved the site over to dmpk2k's Dreamhost account.

21 Name: anon!21anon4H3U : 2006-05-12 16:27 ID:kZ1LV0b5 [Del]

>>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

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: