dangquocthai / owaspbwa

Automatically exported from code.google.com/p/owaspbwa
0 stars 0 forks source link

awstats not working #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In 0.94alpha1, visiting http://owaspbwa/awstats/awstats.pl?config=owaspbwa 
returns a 404.  Need to investigate what is going wrong there.

Original issue reported on code.google.com by chuck.f....@gmail.com on 2 May 2011 at 3:15

GoogleCodeExporter commented 9 years ago
Problem is the /etc/apache2/sites-enabled/000-default is a real file (due to 
SVN) and does NOT contain the awstats customizations which reside in 
/etc/apache2/sites-available/default.

rm -rf /etc/apache2/sites-enabled/000-default
a2ensite default

fixed it for me!

Original comment by MichaelTCyr@gmail.com on 2 May 2011 at 5:55

GoogleCodeExporter commented 9 years ago
root@owaspbwa:/owaspbwa/owaspbwa-svn/etc/apache2/sites-enabled# ls -lah
total 16K
drwxr-xr-x 3 root root 4.0K 2011-05-02 13:57 .
drwxr-xr-x 8 root root 4.0K 2011-05-01 22:13 ..
lrwxrwxrwx 1 root root   26 2011-05-02 13:57 000-default -> 
../sites-available/default

Original comment by MichaelTCyr@gmail.com on 2 May 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Yep, it's fixed.  Thanks.  I used similar logic for the other hosts that we 
will for the hackxor application.

Original comment by chuck.f....@gmail.com on 3 May 2011 at 2:00