logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: config help for awstats
Author
shaggy



Joined: 15 Nov 2005
Posts: 82
Location: Dundee, Michigan

PostPosted: Fri 13 Dec '13 17:28    Post subject: config help for awstats Reply with quote

Anyone know how to configure awstats with apache? I keep getting a forbidden error message and I did the instructions like they said. I have:

Code:
    ScriptAlias /awstats/ "d:/apache/htdocs/stats/awstats/cgi-bin/"


and

Code:
    Alias /awstatsclasses "d:/apache/htdocs/stats/awstats/classes/"
    Alias /awstatscss "d:/apache/htdocs/stats/awstats/css/"
    Alias /awstatsicons "d:/apache/htdocs/stats/awstats/icon/"


Any help on this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 13 Dec '13 18:16    Post subject: Reply with quote

You need a Directory block with permissions for

Code:
<Directory "d:/apache/htdocs/stats/awstats/">
    Options None
    AllowOverride None
    Require all granted
</Directory>
Back to top
shaggy



Joined: 15 Nov 2005
Posts: 82
Location: Dundee, Michigan

PostPosted: Fri 13 Dec '13 19:53    Post subject: Reply with quote

I am stumped here. Directory block where? Which config file cuz I am trying all sorts of one's including giving it an alias in alias.conf file with still the same luck of forbidden. Where would I stick this at in httpd.conf file at?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 14 Dec '13 3:23    Post subject: Reply with quote

It can go almost anywhere in httpd.conf.
I usually put things I add down near the bottom, easy to find later.
Back to top


Reply to topic   Topic: config help for awstats View previous topic :: View next topic
Post new topic   Forum Index -> Other Software