Are there any solutions for my issue, please help, I'm still waiting your reply.
Thanks. On Mon, Sep 27, 2010 at 11:26 AM, Dang Tung <[email protected]> wrote: > here is the header when I used wget: > > front-end: wget -S -O /dev/null http://myaddress/ > > HTTP request sent, awaiting response... > HTTP/1.1 200 OK > Server: Apache/2.2.3 (CentOS) > X-Powered-By: PHP/5.2.10 > Set-Cookie: symfony=8nrdjbj0q3a5367cr3eg2u7po7; path=/ > Last-Modified: Mon, 27 Sep 2010 04:19:22 GMT > Cache-Control: max-age=0 > Expires: Mon, 27 Sep 2010 04:19:21 GMT > Content-Type: text/html; charset=utf-8 > Content-Length: 63066 > Date: Mon, 27 Sep 2010 04:18:02 GMT > X-Varnish: 153748005 > Age: 0 > Via: 1.1 varnish > Connection: keep-alive > Length: 63066 (62K) [text/html] > Saving to: `/dev/null' > > 100%[======================================>] 63,066 --.-K/s in > 0.1s > > 2010-09-27 11:17:50 (577 KB/s) - `/dev/null' saved [63066/63066] > > > > backend: wget -S -O /dev/null http://myaddress/admin > > wget -S -O /dev/null http://myaddress/admin > --2010-09-27 11:18:35-- http://myaddress/admin > Connecting to myaddress:80... connected. > HTTP request sent, awaiting response... > HTTP/1.1 302 Found > Server: Apache/2.2.3 (CentOS) > X-Powered-By: PHP/5.2.10 > Set-Cookie: symfony=lli9m9oog3flp23ggchhbt5s71; path=/ > Location: http://myaddress:8080/admin.php > Cache-Control: max-age=0 > Expires: Mon, 27 Sep 2010 04:20:08 GMT > Content-Type: text/html; charset=utf-8 > Content-Length: 106 > Date: Mon, 27 Sep 2010 04:18:48 GMT > X-Varnish: 153748006 > Age: 0 > Via: 1.1 varnish > Connection: keep-alive > Location: http://myaddress:8080/admin.php [following] > --2010-09-27 11:18:35-- http://myaddress:8080/admin.php > Connecting to myaddress:8080... failed: No route to host. > > I saw 302 found but I don't know what can I do then. 8080, here's the > backend-port. > > Thanks and regards. > > > > Hmm. Can you provide the headers of one of the URLs you're testing, with >> as little anonymisation as possible? e.g. using >> >> wget -S -O /dev/null http://www.example.com/ >> >> Is it possible that your test URL is already cached by Varnish? >> vcl_fetch() is only called when the resource was fetched from the >> backend, so if it was already cached by Varnish that code will never be >> called. Either purge the URL or add similar code in vcl_hit(). >> >> _______________________________________________ >> varnish-misc mailing list >> [email protected] >> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc >> > > > > -- > Nguyen Dang Tung > -- Nguyen Dang Tung
_______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
