Hi every one, I really need help here,
i'm testing file caching in traffiserver,
it's configured to remap files from localhost:80 to localhost:8080,
when i'm trying to purge a file with the following command :
curl -X PURGE -v -H "Host: http://localhost:8080"; "http://localhost/test.txt";
I get this :
* About to connect() to 10.0.1.11 port 80 (#0)
*   Trying 10.0.1.11... connected
* Connected to 10.0.1.11 (10.0.1.11) port 80 (#0)
> PURGE /test.txt HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k 
> zlib/1.2.3.3 libidn/1.15
> Accept: */*
> Host: http://10.0.1.11:8080
> 
< HTTP/1.1 403 Access Denied
< Date: Thu, 21 Apr 2011 16:14:35 GMT
< Connection: close
< Server: ATS/2.1.7-unstable
< Cache-Control: no-store
< Content-Type: text/html
< Content-Language: en
< Content-Length: 228
< 
<HEAD><TITLE>Access Denied</TITLE></HEAD>
<BODY BGCOLOR="white" FGCOLOR="black">
<FONT FACE="Helvetica,Arial"><B>
 You are not allowed to access the document.</B></FONT>

<!-- default "Access Denied" response (403) -->
</BODY>
* Closing connection #0

Any help please ?
bmr


Reply via email to