๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ SmallWeb โ€บ 19174 captured on 2024-08-31 at 15:42:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

slcl 0.3.0 release

I have just released slcl 0.3.0. This version provides several bugfixes and improvements from libweb 0.4.0 and fixes a bug when uploading files. It is recommended to upgrade existing instances to the lastest version.

https://gitea.privatedns.org/xavi/slcl/releases/tag/v0.3.0

Posted in: s/SmallWeb

๐ŸŽต xavi

Aug 22 ยท 9 days ago ยท ๐Ÿ‘ istvan

7 Comments โ†“

๐Ÿšฒ CitySlicker ยท Aug 23 at 00:25:

I just installed this on my home server. It's pretty cool. Thanks for making it and sharing!

๐Ÿ’Ž istvan ยท Aug 25 at 09:39:

Eager to try it out.

I use many computers pre-2005, and SSL plus JavaScript is a dealbreaker usually because they are either completely unusable or make browser seize up.

Had been getting around it with old school ftp (not ftps/sftp) but this might work better for some needs.

๐Ÿ’Ž istvan ยท Aug 25 at 19:56:

Having some trouble. I ran the usergen script to generate an account, but every time I try and log in it says "Forbidden".

Console output just says "getnode: auth_cookie failed"

๐ŸŽต xavi [OP] ยท Aug 25 at 20:23:

@istvan this indicates the web browser is not accepting cookies. Take into account that, after a successful login, slcl shall send 1 cookie to the client so that it is possible to navigate the user directories and files. Otherwise, the web browser would attempt to access "/user" without a cookie, which slcl would rightfully reject, hence the error message.

Could you please confirm that the web browser is accepting cookies?

๐Ÿ’Ž istvan ยท Aug 25 at 20:40:

Tried a different browser and it's working there. I'm wondering if it is due to an older cookie for the domain messing things up because I have not disabled cookies.

I'll see if I can figure it out.

๐ŸŽต xavi [OP] ยท Aug 26 at 09:15:

@istvan Having other cookies for the same domain could also be an issue. As of the time of this writing, libweb (the HTTP server library powering slcl) only processes one cookie at a time, and just selects the first one it finds. This is a known limitation from libweb that will be eventually fixed - see the documentation below.

โ€” Relevant section of the documentation (libweb)

๐Ÿ’Ž istvan ยท Aug 26 at 17:37:

Yes, clearing the cookies solved it. It was probably because I was previously using the subdomain for a Nextcloud install, and the old cookies were causing the problem.