AWstats setup on tinysofa
Hi guys
I've downloaded the AWstats file and installed it on a tinysofa server install went well, i followed the screen notes and added my httpd path etc etc when asked However when trying to view the page i get the following error http://192.168.0.28:81/awstats/awsta...nfig=localhost Forbidden You don't have permission to access /awstats/awstats.pl on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Any one tell me whats going on.. TT |
In the directory where you have installed AWStats, can you execute (cgi) scripts? And does the user the webserver runs as have read and execute permission on the scriptfile itself?
Håkan |
Hi i am alittle lost on this.
The only folder i see is tools under awstats Code:
root@localhost /usr/local/awstats/tools# ls -al Code:
localhost /usr/local# cd awstats/ |
Hi all
I got awstats running like a T my fcron has no errors updates ok only problem is i cant view it ( the page ) I get this You don't have permission to access /awstats/awstats.pl on this server. Can any one tell me what the perms should be please, i'm new to awstats and it has me foxed big time. /usr/local/awstats# drwx------ 6 root root 4096 Sep 17 17:58 ./ drwxr-xr-x 12 root root 4096 Sep 17 16:51 ../ -r--r--r-- 1 root root 6716 May 15 21:40 README.TXT drwxr-xr-x 2 root root 4096 Sep 17 20:00 data/ drwx------ 3 root root 4096 Sep 17 16:51 docs/ drwxr-xr-x 4 root root 4096 Sep 17 16:51 tools/ drwxr-xr-x 7 root root 4096 Sep 17 17:58 wwwroot/ /etc/awstats drwx------ 2 root root 4096 Sep 17 17:49 ./ drwxr-xr-x 48 root root 4096 Sep 17 16:51 ../ -rw------- 1 root root 52736 Sep 17 17:48 awstats.model.conf -rwxr-xr-x 1 root root 52807 Sep 17 17:52 awstats.www.mydomain.com.conf* TT P.S OS is TinySofa |
I had the same problem and the solution was to move awstats directory from /usr/local to another one (ie: /opt), of course I had to change all the lines in the htttpd.conf file which referred to the old path:
Alias /awstatsclasses "/opt/awstats/wwwroot/classes/" Alias /awstatscss "/opt/awstats/wwwroot/css/" Alias /awstatsicons "/opt/awstats/wwwroot/icon/" ScriptAlias /awstats/ "/opt/awstats/wwwroot/cgi-bin/" <Directory "/opt/awstats/wwwroot"> Options None AllowOverride None Order allow,deny Allow from all </Directory> Pay attention to the following lines in the /etc/awstats/awstats.hostname.conf file, they have wrong values when the file is created by the configuration script. They have to be based on the aliases stated in httpd.conf, so the correct values are: DirData="../data" DirCgi="/awstats" DirIcons="/awstatsicons" |
All times are GMT -5. The time now is 12:01 AM. |