I have installed ISPConfig and everything is working fine. I wanna know that I have Apache2 installed on my server but why does ISPConfig install Apache1.3 for its interface. 2. I am trying to acces www.test.com/stats and couldn't log in although I have a valid user in my .htpasswd file but for some reason I cant get through the authentication. Whats wrong with stats authentication? Edit/Delete Message
If you followed the Perfect setup with ISPConfig you have two apache versions running on your server: Apache 1.3 listening to port 81 for ISPConfig Apache 2 listening to port 80, the default http port and port 443 for https. That you will have two webservers is inherent to Falko's Perfect setup. Falko has his reasons, i guess security and stability are important reasons. If Apache 2 stops running for any reason, you still have access to ISPConfig because it uses Apache 1.3. Every website you are going to setup with ISPConfig will be available on port 80. (Apache 2 ), However the packages (.pkg files) which are provided on the ISPConfig website will run on port 81. (apache 1.3). If you create websites and a users via ISPConfig, all the created webusers should have access to the Webalizer webstats with a valid username and password. The URL is http://www.anydomainonyourserver.com/stats
Dear Hans, Thanks for clearing up Apache stuff. But the second question still remains as I created websites and users using ISPConfig but stats page is not authenticating the user. Although I can use ftp, webmail with the same user name and password but stats aint working.
The stats page authentication is created once every night, so you will have to waitup to 24 hours until you can login to the stats page. You also must have webalizer installed on your server.
The webalizer is installed and I can see the stats folder that means it has created the stats but autnetication aint working.
Did you try to login with a using a web-user account, which is created within ISPConfig? (Not a system user)
I, too, can not access my www.domain.com/stats with the user created under Clients > $name > Login Data. Am I using the wrong user?
I tried few things to figure out the cause for that. I moved .htaccess file to bypass the authentication and now I dont get authentication screen but I am still getting Forbidden access page and when I run check the stats directory, I see no files in there. Seems like stats are not working. Any fix for that.
There is an .htpassword file in the main directory of the web site (e.g. /var/www/web1/.htpasswd). What's in it? What's the output of Code: ls -la /var/www/web1/web/stats (please replace /var/www/web1 with your path) and what's in the .htaccess file? What's the output of Code: crontab -l ?
Dear Falko, I dont see any file in the stats directory under /var/www/webx. Secondly in the .htpasswd file I see the user I created like web1_atif:xxxxxxxxxx but when I access the page using http://www.myclientdomain.com/stats it asks me the for authentication and using web1_atif and the password, I dont get through it. I also moved the .htpasswd file to avoid authentication but after that It shows me the Forbidden error page withtout asking for UserID and password.
Which linux distribution do you use? The path might be /var/www, /srv/www or /home/www or any other path you choose during installation. If you want to remove the authentication, you must delete the .htaccess file in the stats directory and not the .htpasswd file.
Using CentOS. I do have good working experience with that. I deleted .htaccess file as well. Falko, below is the output of my crontab. 30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null 0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null 0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null 15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null 40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null 05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
Is SELinux disabled? What happens when you run Code: /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php (please do this before 12.00h of your time)?
SELinux is disabled I will let you know about the result of executing that command. Thanks for hanging in here with me.
Dear Falko, I dont see any output when I run the mentioned command. /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
It doesnt take any long. It just shows up the command prompt soon after 1 or 2 secs. Seems like it doesnt do much.