On Sun, Mar 30, 2003 at 10:15:50PM +0900, dreamer wrote: > If i telnet to my webserver, i can connecto to 80 port. > ex)telnet www.xxx.xx.xx 80 > GET / HTTP/1.0 > => I can found page not found!
The problem is not with pf or the redirection, but name based virtual hosting at the web server. If you don't use dedicated IP addresses for each domain, the web client must provide the domain in the HTTP host header, otherwise the web server has no way of knowing which of the several domains the client wants. Try $ telnet www.xxx.xx.xx 80 GET / HTTP/1.0 Host: www.domain.tld and see http://httpd.apache.org/docs/vhosts/name-based.html. If the HTTP TCP connection is redirected, you get an established connection, and can talk HTTP to the web server, the problem is beyond pf. Daniel