darold / squidanalyzer

Squid Analyzer parses Squid proxy access log and reports general statistics about hits, bytes, users, networks, top URLs, and top second level domains. Statistic reports are oriented toward user and bandwidth control.
http://squidanalyzer.darold.net/
126 stars 36 forks source link

CustomHeader enhance #112

Closed cedua closed 8 years ago

cedua commented 8 years ago

Darold, cedua again....

When generating html reports the logo is missing....

My conf file: CustomHeader a href="http://www.company.com/">img src="images/LogoFJK.jpg" title="Logo" border="0" width="100" height="110"</a Company

The MAIN index.html file is OK (it searches in http://x.x.x.x/squidreport/images/LogoFJK.jpg) When you access to URL, user, sites, etc .... the logo is missing, because the html searches in http://x.x.x.x/squidreport/2015/images/LogoFJK.jpg)

Is not a major problem :)

Regards,

PS: I quit a few "<" just to post it here

darold commented 8 years ago

This is because you use a relative url. Using:

src="/squidreport/images/LogoFJK.jpg"

might solves your issue.

cedua commented 8 years ago

Thank you! You're right, my mistake

Regards