Re: bozohttpd: user.domain URL (instead of ~user)

2022-05-01 Thread Mayuresh
On Sun, May 01, 2022 at 12:22:36PM +, RVP wrote:
> $ ln -sf "http://x202e.localdomain/~rvp; .bzabsredirect

Thanks for the hint.

I tried the following:

In /var/www/virtual (passed as -v to httpd)

ln -s ~user/public_html user.domain

This seemed to work for URL http://user.domain

I did not need .bzabsredirect

Also moved the main site under /var/www/virtual/domain

Hope this is workable.

-- 
Mayuresh


Re: bozohttpd: user.domain URL (instead of ~user)

2022-05-01 Thread RVP

Is there any way in bozohttpd to redirect a URL of "user.domain" form to
a user specific directory - (just like how domain/~user is).



Will this do: virtual hosting + .bzabsredirect ?

$ tail -n2 /etc/hosts
192.168.68.171  x202e.localdomain   x202e
192.168.68.171  rvp.localdomain rvp

$ mkdir ~/public_html
$ mkdir /tmp/www /tmp/vroot
$ cd /tmp/vroot
$ mkdir rvp.localdomain; cd rvp.localdomain
$ ln -sf "http://x202e.localdomain/~rvp; .bzabsredirect

# bozohttpd -f -H -s -u -X -v /tmp/vroot /tmp/www

$ curl -s http://rvp.localdomain/
Document Moved
Document Moved
This document had moved http://x202e.localdomain/~rvp;>here

$

-RVP



Questions about NetBSD!

2022-05-01 Thread bsdanon
Hello,

I am looking for a safe, secure, fast, and reliable *BSD variant that
isn't "woke", and will let me talk about "trannies" every so often (I
can't help it!).

I was considering OpenBSD, but it's extremely slow and bloated, but
there's just... something about NetBSD which attracts me to it, despite
(probably) sucking even more than OpenBSD in terms of
documentation/package management (you could say the same about
Devuan/OpenWRT).

Here's what I really want to know:
1) Is NetBSD ran by progressive/pro-LGBT (not LGB) people?
2) Does NetBSD have a CoC like FreeBSD's?
3) Can NetBSD be made into the "perfect" one-fits-all OS, like GNU/Linux
(Devuan in my case)?

Thanks.



bozohttpd: user.domain URL (instead of ~user)

2022-05-01 Thread Mayuresh
Is there any way in bozohttpd to redirect a URL of "user.domain" form to a
user specific directory - (just like how domain/~user is).

Best if it generically works for all users, but even if a per user setting
is required it would work for me for now.

-- 
Mayuresh