Re: Using awstats on Fedora 13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/16/2010 11:55 PM, g wrote:
> On 10/17/2010 12:38 AM, Michael Hannon wrote:
>> Greetings.  I'm trying to use "awstats" to analyze Apache log files on a
>> Fedora 13 (x86_64) system.
>>
>> When I go to the web page:
>>
>>     http://localhost/awstats/awstats.pl
>>
>> I consistently get a 403 message:
>>
>>     Forbidden
>>
>>     You don't have permission to access /awstats/awstats.pl on this server.
>>
>> The corresponding entry in the httpd error_log file is:
>>
>>     [error] [client ::1] client denied by server configuration:
>>     /usr/share/awstats/wwwroot/cgi-bin/awstats.pl
> 
> 
> this has been discussed before on this list and i believe that problems
> are related to your configuration, and/or, selinux, and/or, root only,
> and/or, all 3.
> 
> try first as root to see what happens.
> 
> hth.
> 
> 
If I was a betting man, I would say you need to label
/usr/share/awstats/wwwroot as httpd_sys_content_t

# semanage fcontext -a -e /var/www /usr/share/awstats/wwwroot
# restorecon -R -v /usr/share/awstats

Will probably fix the problem. If this is a standard setup, we need to
put this in the base policy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAky8R0EACgkQrlYvE4MpobNnxwCfUWNGOr1qOc+5WXoF3L3i2Owi
v8YAoNYGyjYKjCrsh2z5cCeqQVewYUHN
=UnuI
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux