flush dns/fqdn and hostfile

42 views
Skip to first unread message

chudy.fernandez

unread,
Mar 16, 2011, 3:49:45 AM3/16/11
to lusca...@googlegroups.com
Good day,

cachemgr.cgi flush DNS/FQDN would it be nice if we reload the hostfile?


Adrian Chadd

unread,
Mar 27, 2011, 7:42:25 AM3/27/11
to lusca...@googlegroups.com
Patch please? ;0


Adrian

On 16 March 2011 15:49, chudy.fernandez <chudy.f...@gmail.com> wrote:
Good day,

cachemgr.cgi  flush DNS/FQDN would it be nice if we reload the hostfile?


--
You received this message because you are subscribed to the Google Groups "lusca-users" group.
To post to this group, send email to lusca...@googlegroups.com.
To unsubscribe from this group, send email to lusca-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lusca-users?hl=en.


Faysal Banna

unread,
May 30, 2011, 6:04:51 AM5/30/11
to lusca...@googlegroups.com
Good day Adrian...
I am using lusca_cache latest stable release yet i have the following
issue when using store_url_rewrite
everything set up in correct manner as such:

// code snippet squid.conf
#################################
# call storeurl rewrite helper program
storeurl_rewrite_program /usr/local/bin/storeurl.pl
storeurl_rewrite_children 1
storeurl_rewrite_concurrency 10
acl store_rewrite_list_path urlpath_regex utm\.gif
storeurl_access allow store_rewrite_list

acl remove_header_access urlpath_regex -i (utm.gif)
header_access Cache-Control deny remove_header_access
header_access Pragma deny remove_header_access
header_access Expires deny remove_header_access
header_replace Expires Wed, 30 May 2012 12:37:43 GMT

##################################

//code snippet storeurl.pl
######################################
if (m/^http:\/\/www\.google-analytics\.com\/__utm\.gif\?.*/) {
print $x . "http://www.google-analytics.com/__utm.gif\n";
}
######################################


now when i do wget as the following:
you see that header access header_replace works fine yet somehow the
request is not saved as it should be.

wget -S --delete-after
'http://www.google-analytics.com/__utm.gif?utmwv=4.9.4&utms=5&utmn=805104046&utmhn=www.ahlasoot.com&utmcs=utf-8&utmsr=1024x768&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=10.2%20r152&utmdt=Joseph%20Attieh&utmhid=326163588&utmr=0&utmp=%2Fartist.asp%3FID%3D467&utmac=UA-7241688-1&utmcc=__utma%3D247632983.412945706.1301408384.1306419471.1306746828.17%3B%2B__utmz%3D247632983.1301408385.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=D%7E'
-O utm.gif
--2011-05-30 13:00:52--
http://www.google-analytics.com/__utm.gif?utmwv=4.9.4&utms=5&utmn=805104046&utmhn=www.ahlasoot.com&utmcs=utf-8&utmsr=1024x768&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=10.2%20r152&utmdt=Joseph%20Attieh&utmhid=326163588&utmr=0&utmp=%2Fartist.asp%3FID%3D467&utmac=UA-7241688-1&utmcc=__utma%3D247632983.412945706.1301408384.1306419471.1306746828.17%3B%2B__utmz%3D247632983.1301408385.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=D%7E
Resolving www.google-analytics.com... 209.85.143.100, 209.85.143.101
Connecting to www.google-analytics.com|209.85.143.100|:80... connected.
HTTP request sent, awaiting response...

HTTP/1.0 200 OK
Date: Wed, 25 May 2011 20:08:40 GMT
Content-Length: 35
Expires: Wed, 30 May 2012 12:37:43 GMT
Last-Modified: Wed, 21 Jan 2004 19:51:30 GMT
Content-Type: image/gif
Server: GFE/2.0
X-Cache: MISS from local-cache.com.lb
Connection: close
Length: 35 [image/gif]
Saving to: �utm.gif�


Much Regards

Faysal Banna
Meteorological Services
Rafic Harriri international airport
Beirut Lebanon
mobile: +961-3-258043


degreane.vcf

Adrian Chadd

unread,
May 30, 2011, 6:14:12 AM5/30/11
to lusca...@googlegroups.com
Hi,

I can't really help out with questions until after mid-July. I'm in
the middle of my exam period. :)

Sorry!


Adrian

> Saving to: “utm.gif”


>
>
> Much Regards
>
> Faysal Banna
> Meteorological Services
> Rafic Harriri international airport
> Beirut Lebanon
> mobile: +961-3-258043
>
>

Faysal Banna

unread,
May 30, 2011, 6:22:41 AM5/30/11
to lusca...@googlegroups.com
On 05/30/2011 01:14 PM, Adrian Chadd wrote:

ok.
good luck with ur exams:

>> Saving to: �utm.gif�

degreane.vcf
Reply all
Reply to author
Forward
0 new messages