/[mod_czs]/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by dpavlin, Wed Aug 9 06:54:43 2000 UTC revision 1.8 by dpavlin, Sun Aug 13 20:11:51 2000 UTC
# Line 1  Line 1 
1  APXS_FLAGS=-DTEST_QUERYSTRING -DDEBUG -i -a  APXS_FLAGS=-i -a -DTEST_QUERYSTRING -DDEBUG
2  #APXS=/usr/local/apache/bin/apxs  #APXS=/usr/local/apache/bin/apxs
3  #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs  #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs
4  APXS=/usr/sbin/apxs  APXS=/usr/sbin/apxs
5  URL=http://localhost:8080/_/private/public_html/  #APACHECTL=/usr/local/apache/bin/apachectl
6  URL2=http://localhost:8080/~dpavlin/?foo  APACHECTL=/etc/rc.d/init.d/httpd
7    WGETOPT=--user-agent="Mac"
8    
9    URL=http://localhost/czs/~dpavlin/
10    URL2=http://localhost/mac/~dpavlin/?foo
11    
12  all:  all:
13            $(APACHECTL) stop
14          $(APXS) -c $(APXS_FLAGS) mod_czs.c          $(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  install: mod_czs.so mod_czs.c
19          $(APXS) -a -i mod_czs.so          $(APXS) -a -i mod_czs.so
20    
21  clean:  clean:
22          rm -f *.o *.so *~          rm -f *.o *.so *~
   
23  test:  test:
24          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
25    
26    test1:
27            wget --save-headers --proxy=off -O out $(WGETOPT) $(URL)
28    
29  test2:  test2:
30          wget --save-headers --proxy=off -O out2 $(URL2)          wget --save-headers --proxy=off -O out2 $(WGETOPT) $(URL2)
31    
32    mac1:
33            echo -e "GET ~dpavlin/neformalno.html HTTP/1.0\nUser-agent: Mac\n\n" | nc localhost 80 2>&1 | tee out-mac1 | head -30
34            wget --save-headers --proxy=off -O out-mac1 --user-agent="Mac" http://localhost/~dpavlin/neformalno.html
35    
36    mac2:
37            wget --save-headers --proxy=off -O out-mac2 --user-agent="Mac" http://localhost/mac/~dpavlin/

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.26