Parent Directory | Revision Log
small changes
1 | APXS_FLAGS=-i -a #-DTEST_QUERYSTRING -DDEBUG |
2 | #APXS=/usr/local/apache/bin/apxs |
3 | #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs |
4 | APXS=/usr/sbin/apxs |
5 | #APACHECTL=/usr/local/apache/bin/apachectl |
6 | APACHECTL=/etc/rc.d/init.d/httpd |
7 | |
8 | |
9 | URL=http://localhost/czs/~dpavlin/ |
10 | URL2=http://localhost/~dpavlin/?foo |
11 | |
12 | all: |
13 | $(APACHECTL) stop |
14 | $(APXS) -c $(APXS_FLAGS) mod_czs.c |
15 | # $(APXS) -c $(APXS_FLAGS) mod_noczs.c |
16 | $(APACHECTL) start |
17 | |
18 | install: mod_czs.so mod_czs.c |
19 | $(APXS) -a -i mod_czs.so |
20 | |
21 | clean: |
22 | rm -f *.o *.so *~ |
23 | test: |
24 | echo -e "GET /czs/n.html HTTP/1.0\n" | nc localhost 80 2>&1 | tee out | head -30 |
25 | |
26 | test1: |
27 | wget --save-headers --proxy=off -O out $(URL) |
28 | |
29 | test2: |
30 | wget --save-headers --proxy=off -O out2 $(URL2) |
31 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |