Kareha on nginx (7)

1 Name: Nameless : d10.04.25 @501.22 .beats ID:d/txBLZk [Del]

I sent this to chaoskaiser72@yandex.com but it seems yandex blocks cockmail.

Hiiii.
I'm trying to setup kareha on nginx. Tbh i have zero(0) experience
with nginx but i made to the point that i can
post messages and threads, but my problem is that i cant open threads.

When i click on thread title it points to
http://127.0.0.1/kareha.pl/1743871222/l50 and returns 404.
I can access thread on http://127.0.0.1/res/1743871222.html, though.

I know you use fork but it looks like a skill issue to me. I think there
is a problem with my FCGI configuration. Kareha should generate
1743871222/l50.html right?

I start spawn-fcgi like this:
spawn-fcgi -a 127.0.0.1 -p 9000 -u nginx /bin/fcgiwrap

nginx.conf:

       	root /var/www/kareha;
location ~ \.pl$|.sh$ {
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi.conf;
}

PLEASE RESPOND

2 Name: gyudon_addict : d15.04.25 @146.09 .beats ID:eznKwUxu [Del]

That's a pretty common problem. There's a thread here with the deets:
https://4-ch.net/tech/kareha.pl/1697813389/

It's been a while since I've set up a board but I can probably give some tips--I helped set this one up if that's worth anything. Kareha and Kiramoji work exactly the same.

3 Name: chaoskaiser72 !!RwVb39E/ : d17.04.25 @096.77 .beats ID:X3ZdN4xY [Del]

I really can't help at all, I barely got this place running with >>2-san's help, and now it's bugged and I can't do anything with it. Too busy with work. I am an old man now.

4 Name: chaoskaiser72 ## KAISER : d17.04.25 @102.00 .beats ID:X3ZdN4xY [Del]

>>3
Forgot my own capcode award

5 Name: Nameless : d21.04.25 @237.23 .beats ID:d/txBLZk [Del]

Thank you guys! Teh link was useful...

location ~ \.pl(/|$) {
fastcgi_split_path_info ^(.+\.pl)(/.*)$;
try_files $uri $uri/ index.html;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
include fastcgi_params;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}

Its not something I could have came with myself. @_@

6 Name: Nameless : d15.09.25 @283.21 .beats ID:JATcFvv2 [Del]

Did you face any challenges running this on OpenBSD unrelated to nginx? Perhaps you're one of those rare mages who uses it natively.

  • world2ch.net

7 Name: chaoskaiser72 ## KAISER : d17.09.25 @109.10 .beats ID:X3ZdN4xY [Del]

>>6
A few things had to be adapted to fit; instead of fastcgi OpenBSD has slowcgi, and it has packages for some of the required perl libraries but not others. I ended up frankensteining the perl side of it out of ignorance and then when I upgraded the system it moderately broke this board and I still haven't fixed it. The script runs mostly right but it throws some errors now. I was going to reinstall the whole thing on NetBSD but found that to be a nightmare to set up and I can't figure out again how I even got this running on OpenBSD. I know very little about networking and haven't been active with any projects for a long time so it's tough.

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