US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 04-01-2010, 02:32 AM   #1
Junior Member
 
Join Date: Mar 2010
Posts: 5
Nemesis is on a distinguished road
Default AWStats Forbidden Under webstat

Can anyone please tell me a solution to the following problem so I don't have go through each time I add a new domain to set the passwd and .htaccess files in the webstat directory to 644 instead of 640?

http://www.vps.net/forum/public-foru...er-and-awstats
Nemesis is offline   Reply With Quote
Old 04-01-2010, 08:14 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Why do you need these permissions? It is insecure.
.htaccess and passwd file have owner user and group www (apache user group) and can be read by apache and work with 640 permissions without problem.

Last edited by tanya; 04-02-2010 at 04:04 AM.
slava is offline   Reply With Quote
Old 04-03-2010, 12:22 AM   #3
Junior Member
 
Join Date: Mar 2010
Posts: 5
Nemesis is on a distinguished road
Default

Because on all the domains that are set up, and I try to access the webstat directory, I get a 403 Forbidden error, once I set both the .htaccess and stat.passwd file to 644, then it works. Looking at all the permissions for the webstat folder, the owner of the webstat folder is root.
Nemesis is offline   Reply With Quote
Reply

Tags
awstats, forbidden, permission, problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:02 PM.