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
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.
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.
>>3
Forgot my own capcode award
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. @_@
Did you face any challenges running this on OpenBSD unrelated to nginx? Perhaps you're one of those rare mages who uses it natively.
>>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.