stunnel-ed httpd
[email protected] Mon, 4 Mar 2002 14:04:10 -0600
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <[email protected]> |
I tried to run httpd on https by changing the run file to include stunnel: # cat /service/httpds/run #!/bin/sh exec 2>&1 exec envuidgid root softlimit -o20 -d50000 tcpserver -vDRHl0 -b50 -c100 0 443 stunnel -f -l /usr/local/publicfile/bin/httpd /publics/file Then I did echo oki > /publics/file/www.csi.hu/index.html but upon going to https://www.csi.hu/index.html, I get `file does not exist'. Logs show: 2002-03-04 13:55:55.481950500 tcpserver: pid 21753 from 141.225.37.221 2002-03-04 13:55:55.482068500 tcpserver: ok 21753 0:141.225.37.221:443 :141.225.37.221::3574 2002-03-04 13:55:55.489431500 2002.03.04 13:55:55 LOG5[21753:1024]: Using '/publics/file' as tcpwrapper service name 2002-03-04 13:55:55.501163500 2002.03.04 13:55:55 LOG5[21753:1024]: stunnel 3.22 on i386-redhat-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.6b [engine] 9 Jul 2001 2002-03-04 13:55:55.502056500 2002.03.04 13:55:55 LOG5[21753:1024]: /publics/file connected from 141.225.37.221:3574 2002-03-04 13:55:55.545872500 141.225.37.221 read ./www.csi.hu/index.html: open failed: file does not exist 2002-03-04 13:55:55.621409500 2002.03.04 13:55:55 LOG5[21753:1024]: Connection closed: 185 bytes sent to SSL, 288 bytes sent to socket 2002-03-04 13:55:55.622847500 tcpserver: end 21753 status 0 2002-03-04 13:55:55.622855500 tcpserver: status: 0/100 Any advice? Thx, Mate -- --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis