I use the first and only username (for first website) that I created since installing ISPConfig. I can login into webmail using that username/pass and I can FTP also
The username must be of the form web1_user. Do you have an .htaccess file in the stats folder? What's in it?
yes, username is in form web1_ xxxx there is .htacess file in dir: AuthType Basic AuthName "Members Only" AuthUserFile /var/www/web1/.htpasswd <limit GET PUT POST> require valid-user </limit> I noticed that in /var/www/web1/.htpasswd web1_xxxxx: ghhgihggGUGUGuhh --- this string does not match my password ? (probably it is encrypted?) After I input username/password it looks like user is logged in, but then error "403 Error- Forbidden!" occurs.
Yes, the password is encrypted. Normally this means there's no index page in the directory. Please post the output of Code: ls -la /var/www/web1/web/stats
[root@noc ~]# ls -la /var/www/web1/web/stats total 284 drwxr-xr-x 2 web1_nenad web1 4096 Mar 5 13:16 . drwxrwxr-x 19 web1_nenad web1 4096 Mar 13 03:16 .. -rwxr-xr-x 1 web1_nenad web1 3183 Mar 15 04:00 ctry_usage_200603.png -rwxr-xr-x 1 web1_nenad web1 3009 Mar 15 04:00 daily_usage_200603.png -rwxr-xr-x 1 web1_nenad web1 12288 Mar 14 04:00 dns_cache.db -rwxr-xr-x 1 web1_nenad web1 2111 Mar 15 04:00 hourly_usage_200603.png -rw-rw-r-- 1 web1_nenad web1 124 Mar 15 04:00 .htaccess -rwxr-xr-x 1 web1_nenad web1 3779 Mar 15 04:00 index.html -rwxr-xr-x 1 web1_nenad web1 91765 Mar 15 04:00 usage_200603.html -rwxr-xr-x 1 web1_nenad web1 2363 Mar 15 04:00 usage.png -rwxr-xr-x 1 web1_nenad web1 89110 Mar 15 04:00 webalizer.current -rwxr-xr-x 1 web1_nenad web1 41 Mar 15 04:00 webalizer.hist
That's ok. And you can't login with all users from the "User & Email" tab, or is it only one that makes problems?
hi, I have already told you somewhere in the middle of this psot, that I had exactly the same issue, now after Till advised me to create another test user - after waiting for more than 24hours, this user does work, I can access the stats. BUT none of the older users does work... even if I change their password and some of their settings, clicking on save afterwards these accounts do not work... I guess I have to recreate them, will that work if I delete them, empty the recycle bin and recreate them? what do you think?
Ok, thats the first step. Have you waited 24 ours after you changed the passwords? ISPConfig is creating the .htaccess files once each night, when the stats where generated. I dont think that this is nescessary. Are the old users in this file too? /var/www/web1/.htpasswd
yes the old users are in /var/www/web1/.htpasswd too and yes I have waited about 24 hours... could I try again and change their passwords to the same value they had before? will that work? or does ispcfg recognize the password is the same and not write the changes?
1. is it possible to reassign existing sites to new users ? How? 2. is it possible to force ISPConfig to re-create .htacess in shorter period than 24hrs ?
No. thats not possible. You can run the webalizer script manually on the commandline: /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
It won't work I just changed password for web_ user Then regenerated stats using /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php ..and nothing. I can't login into stats...
I reinstalled complete system (Now it's Fedora Core 4) Now I have this error: [root@localhost etc]# /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php PHP Notice: Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 32 PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 32 PHP Notice: Undefined variable: HTTP_POST_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 38 PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 38 PHP Notice: Undefined variable: HTTP_COOKIE_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 44 PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 44 PHP Notice: Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 53 9 records (9 ignored) in 0.00 seconds
yum update, reboot then once again: /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php now there's no error, but I still can't acess stats. they are there with file browser (built into webmin) I can acess index,html and browse throughh complete wealizer statistics. BTW is there a way to make those statistics public avaiable?