fusionictnl
Verified User
If it is there for the user admin on "User-Level", it should be there for the users on their "User-Level".
This is how the plugin system works.
This is how the plugin system works.
It's a problem with all domains. And the error.log showsfusionictnl said:Does the error.log show anything of that specific domain ? (Or are it all domains?) Does the suexec_log show anything ?? (/var/log/httpd/suexec) ?
davidb said:Ok.. I found some more info on the issue that I was having where the stats won't run.. Your script doesn't work for webs that have been extended with Microsoft FrontPage Extensions. I haven't had time to try and figure it out below that, but perhaps you can chase it down further..
function connect($host, $port = '' )
{
if (!is_numeric($port))
{
$port = 80;
}
$this->remote_host = $host;
$this->remote_port = $port;
}
function connect($host, $port = '' )
{
if (!is_numeric($port))
{
$port = 80;
}
$this->remote_host = $host;
[B]$this->remote_port = 8080; [/B]
}
fusionictnl said:The directory structure isn't affected when installing FP Extensions. So it should work correctly. (Tested it!)
Could you check if the: /home/[user]/domains/.../public_html/awstats exists ? If it does, you can try using the all_domains.php in the hooks dir, to check if it works after that ? this will install it on all domains, using another approach.
Haayer
Same as above:
Could you check if the: /home/[user]/domains/.../public_html/awstats exists ? If it does, you can try using the all_domains.php in the hooks dir, to check if it works after that ? this will install it on all domains, using another approach.
fusionictnl said:The symlink problem is mostly in the /etc/awstats dir. This shouldn't be a problem, because they already exist
The system is very simple:
/etc/awstats/awstats.domainname.conf (Awstats configuration):
/home/user/domains/domainname/public_html/awstats:
awstats.pl (Perl file for awstats, should be eXecutable)
.htaccess (File that set's this dir as CGI and awstats.pl as Index)
some symbolic-links.
The problems you could encounter are:
- rights in the awstats dir in public_html (owner not the user or rights on the files R+X)
- .htaccess not working because off apache directives set by webmaster: "AllowOveride none", this causes .htaccess files not being used.
How to test:
Rights problem could be checked by doing:
- chmod 777 * (in the awstats dir in public_html)
- chown [user]: *
.htaccess problem could be checked:
http://wwww.domain.ext/awstats/awstats.pl (This will directly show an error if it doesn't work or in the error logs/suexec log)
Other problems could be that the plugin: /usr/local/directadmin/plugins/awstats is causing some issues and is not completly installed. (Remove dir and reinstall plugin)
If you delete the files in the /etc/awstats dir could help:
rm /etc/awstats/* ( -f )
I can't really think of anything else that could mess up the plugin :s