>Synopsis:      httpd "location" does not work as described on Sparc64
>Category:      Serious
>Environment:
        System      : OpenBSD 6.3
        Details     : OpenBSD 6.3 (GENERIC.MP) #486: Sat Mar 24 22:37:16
MDT 2018
                         dera...@sparc64.openbsd.org:
/usr/src/sys/arch/sparc64/compile/GENERIC.MP

        Architecture: OpenBSD.sparc64
        Machine     : sparc64
>Description:
        in httpd.conf:
           location ".well-known/acme-challenge/*" {
                root "/acme"
                root strip 2
                }
is supposed to mean that a request for "
http://example.com/.well-known/acme-challenge/file.txt";
will actually fetch the file from /var/www/acme/file.txt.
It doesn't. It fetches the file from
"/var/www/.well-known/acme-challenge/file.txt"

This is a guest domain on a T1000 - may be relevant, but don't know why.
Also,
symlink of /var/www/acme to /var/www/example/.well-known/acme-challenge does
not work.

>How-To-Repeat:
        Configure your system as above, with copies of file.txt in both
    locations, but with different contents in the two places. Then use lynx
to
    request as described.



>Fix:
        No idea. "http://daemonforums.org/showthread.php?t=10608"; describes
        having to use /var/www/htdocs/acme to get it to work, but this did
not
        work for me.

SENDBUG: dmesg, pcidump, acpidump and usbdevs are attached.
SENDBUG: Feel free to delete or use the -D flag if they contain sensitive
information.

dmesg:
OpenBSD 6.3 (GENERIC.MP) #486: Sat Mar 24 22:37:16 MDT 2018
    dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 1073741824 (1024MB)
avail mem = 1034346496 (986MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Fire(TM) T1000
cpu0 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu1 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
vbus0 at mainbus0
"flashprom" at vbus0 not configured
cbus0 at vbus0
vdsk0 at cbus0 chan 0x2: ivec 0x4, 0x5
scsibus1 at vdsk0: 2 targets
sd0 at scsibus1 targ 0 lun 0: <SUN, Virtual Disk, 1.1> SCSI3 0/direct fixed
sd0: 10240MB, 512 bytes/sector, 20971520 sectors
vdsk1 at cbus0 chan 0x3: ivec 0x6, 0x7
scsibus2 at vdsk1: 2 targets
sd1 at scsibus2 targ 0 lun 0: <SUN, Virtual Disk, 1.1> SCSI3 0/direct fixed
sd1: 2MB, 512 bytes/sector, 5760 sectors
vnet0 at cbus0 chan 0x4: ivec 0x8, 0x9, address 00:14:4f:fa:5a:dd
vnet1 at cbus0 chan 0x5: ivec 0xa, 0xb, address 00:14:4f:fb:22:90
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
bootpath: /virtual-devices@100,0/channel-devices@200,0/disk@0,0
root on sd0a (3e32354774677e9e.a) swap on sd0b dump on sd0b

usbdevs:
usbdevs: no USB controllers found

pcidump:

acpidump:

Reply via email to