• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Strange prob with stats

M

MaRiOs

Guest
I have this domain on the server www.grserver.gr

I have enabled the statistics and even the protected folder..

the problem is when I get in the cp and

get in the grserver.gr domain ->Report->Web Stats or FTP stats I get this output :

403 Forbidden
Forbidden
You do not have permission to access this document.

Web Server at grserver.gr

I go in the folder

/home/httpd/vhosts/grserver.gr/statistics/webstat
and
/home/httpd/vhosts/grserver.gr/statistics/ftpstat

and i see the index.html and all the files...

So i think to put manually the url :

https://grserver.gr/webstat/index.html ( i added the index.html )
and https://grserver.gr/ftpstat/index.html (added index.html here too)
and the stats open fine..

But why it doesnt work throught the panel ?
any ideas?
 
I can confirm this problem. Plesk 7.5.4.

/home/httpd/vhosts/*.*/conf/httpd.include now all have aliases for webstat. I imagine that's the problem. Better name than plesk-stat anyway but the link from the CP should be changed too, as it is it's dead
 
I did solved the problem.

The solution was :
I created an .htaccess file in each folder

/home/httpd/vhosts/grserver.gr/statistics/webstat and /home/httpd/vhosts/grserver.gr/statistics/ftpstat

the .htaccess has only this line :

DirectoryIndex index.html

Now tha statistics links works even if you press the buttons from inside the panel.
 
Yes thats true,but to be honest i dont have any problems with my other domains.

I figured this solution out by checking the conf/
folder.
it had one vhost_ssl.conf file,and it seemed that this file was overrinding the directory index option of apache.
So you have to add this in all your vhost or vhost.ssl confs files i think...
 
Back
Top