--- Makefile 2000/08/11 09:57:42 1.5 +++ Makefile 2000/08/13 18:30:24 1.7 @@ -1,10 +1,10 @@ -APXS_FLAGS=-DTEST_QUERYSTRING -DDEBUG -i -a +APXS_FLAGS=-i -a -DTEST_QUERYSTRING -DDEBUG #APXS=/usr/local/apache/bin/apxs #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs APXS=/usr/sbin/apxs #APACHECTL=/usr/local/apache/bin/apachectl APACHECTL=/etc/rc.d/init.d/httpd - +WGETOPT=--user-agent="Mac" URL=http://localhost/czs/~dpavlin/ URL2=http://localhost/~dpavlin/?foo @@ -20,10 +20,12 @@ clean: rm -f *.o *.so *~ - test: - wget --save-headers --proxy=off -O out $(URL) + echo -e "GET /czs/n.html HTTP/1.0\n" | nc localhost 80 2>&1 | tee out | head -30 + +test1: + wget --save-headers --proxy=off -O out $(WGETOPT) $(URL) test2: - wget --save-headers --proxy=off -O out2 $(URL2) + wget --save-headers --proxy=off -O out2 $(WGETOPT) $(URL2)