• 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

AWStats on 1and1 VPS Server

S

sthomas

Guest
Hi,

I'm running Plesk 9.2.2 and have a number of domains configured on the system. I have two questions:
* How do I access the statistics? - I get the 403 Forbidden message (I've included further info below)
* How do I change the link in the domain control panel from http://tld.com to http://www.tld.com?

Message: "You don't have permission to access /plesk-stat/webstat on this server."
statistics 4.00 KB r-x r-x --- Sept 28, 2009 root psaserv

Plesk seems to need to have read and write to everyone for sites like Joomla. What user does httpd run as? Does this user have permissions or membership of the Plesk groups etc? I'm a little confused about how all the permissions work.

Can anyone help shed any light on this for me... there's lots of sites out there but with very confusing comments and little on Plesk 9.

Thanks,
Steve
 
Hi,

To add 'www' to domain name go to Domains > select domain. On domain general page click on Domains administration drop down menu > Rename domain > mark 'www' checkbox > Save

To correct 403 error when accessing statistics try the following:
1. Reconfigure apache settings for all domains on server and reload apache to reflect changes:
/usr/local/psa/admin/sbin/websrvmng -v -a

2. If it does not help then from Parallels Plesk panel > Domains > select domain > Web hosting settings > Uncheck 'accessible via password protected directory '/plesk-stat/webstat/' (if it is unchecked, check it) > click OK and then switch it back.

3. Create backup copy of domain web content (usually located in /var/www/vhosts/DOMAIN_NAME). When copying domain content use '-p' option to preserve content permissions.

Now run the following command to make Parallel Plesk reset permissions on domain content:
/usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=DOMAIN_NAME --user-name=DOMAIN_FTP_USERNAME --set-content-permissions

Hope this helps.
 
Back
Top