darold/squidanalyzer

Blank pages

sbdcunha opened this issue · 2 comments

I have recently installed squid analyzer and when i want to access it with the browser to test it
squid-analyzer
it displays only text and no images.
here below are the details
Centos 8 64 Bit
squid version 4.4-8
apache 2.4.37-21

Attached is the sample

appreciate your thanks and advice

regards

simon

This is because the path to the resources is broken. Adjust the value of WebUrl in squidanalyzer.conf to point to the URL where the resources are installed, the default value is /squidreport/ and the corresponding directory content following the apache configuration file is:

$ tree /var/www/squidanalyzer/
/var/www/squidanalyzer/
├── flotr2.js
├── images
│   ├── back-arrow.png
│   ├── cursor.png
│   ├── domain.png
│   ├── info.png
│   ├── logo-squidanalyzer.png
│   ├── network.png
│   └── user.png
├── sorttable.js
├── squidanalyzer.css

In your Apache configuration file you might have something like:

        Alias /squidreport /var/www/squidanalyzer
        <Directory /var/www/squidanalyzer>
            Options -Indexes +FollowSymLinks +MultiViews
            AllowOverride None
            Require all denied
            Require ip 192.168.1.0/24 127.0.0.1/32
        </Directory>

If the resources files are not present just copy them from the resources/ subdirectory of SquidAnalyzer sources.