7 |
WGETOPT=--user-agent="Mac" |
WGETOPT=--user-agent="Mac" |
8 |
|
|
9 |
URL=http://localhost/czs/~dpavlin/ |
URL=http://localhost/czs/~dpavlin/ |
10 |
URL2=http://localhost/~dpavlin/?foo |
URL2=http://localhost/mac/~dpavlin/?foo |
11 |
|
|
12 |
all: |
all: |
13 |
$(APACHECTL) stop |
$(APACHECTL) stop |
29 |
test2: |
test2: |
30 |
wget --save-headers --proxy=off -O out2 $(WGETOPT) $(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/ |