T
T
Tim32016-02-11 15:23:15
Apache HTTP Server
Tim3, 2016-02-11 15:23:15

squidanalyzer configuration?

Hello!
There is a virtual machine, Debian 8, apache and squidanalyzer are spinning in it!
squidanalyzer installed according to the instructions, all directories and files are present! Same Apache.
When I register ip 192.168.1.7:80 my apache opens, but squidanalyzer is not visible. Tell me where am I wrong?
squidanalyzer config:

<192.168.1.780>
ServerName kwok.home
ServerAlias squidreport
DocumentRoot /var/www/squidanalyzer
ErrorLog /var/log/apache2/squidanalyzer/error.log
CustomLog /var/log/apache2/squidanalyzer/access.log combined

Alias /squidreport /var/www/squidanalyzer
</var/www/squidanalyzer>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
Allow from 192.168.1.255
</var/www/squidanalyzer>
</192.168.1.780>

It seems that Apache should show the skidanalyzer config from sites-available, its config is there. but for some reason it shows the Apache start page, how to fix it? where did i go wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Defman21, 2016-02-11
@Tim3

Your config is weird. Neither VirtualHost nor Directory.
Try like this:

<VirtualHost 192.168.1.7:80>
ServerName kwok.home
ServerAlias squidreport
DocumentRoot /var/www/squidanalyzer
ErrorLog /var/log/apache2/squidanalyzer/error.log
CustomLog /var/log/apache2/squidanalyzer/access.log combined

Alias /squidreport /var/www/squidanalyzer
<Directory /var/www/squidanalyzer>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
Allow from 192.168.1.255
</Directory>
</VirtualHost>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question