Re: httpd(8) - Cross-Origin Resource Sharing (CORS) header

2022-06-26 Thread Stuart Henderson
On 2022-06-27, David Rinehart wrote: > Is there a way to add a CORS header to httpd(8) responses for static > content? No. > I see three options: >     1. Create a diff that adds a server CORS property to httpd.conf(5). >     2. Create a diff that adds generic header NVPs to httpd.conf(5). >    

httpd(8) - Cross-Origin Resource Sharing (CORS) header

2022-06-26 Thread David Rinehart
Hello All, Is there a way to add a CORS header to httpd(8) responses for static content? Here is a summary of the issue:     Client request -> httpd Server1     Server1 response ->  Client     Client jS xmlhttprequest for static content -> httpd Server2     Server2

Re: Resizing encrypted disk

2022-06-26 Thread Crystal Kolipe
On Sun, Jun 26, 2022 at 04:25:56AM +0100, Chris Narkiewicz wrote: > Now, I modified sd1a partition by growing it. > When I attach the volume using bioctl, it mounts, > but disklabel -v sd2 shows the same number of sectors and > and I'm unable to grow the decrypted partition sd2a to fill sd1a.

Re: how to completely reset all networking configuration without rebooting?

2022-06-26 Thread Theo de Raadt
Jonathan Thornburg wrote: > In , > Stuart Henderson wrote > > netstart does nothing to clear existing configuration. It wouldn't make > > sense to do this for joinlist without also e.g. clearing IP addresses > > from interfaces as needed,