Urgent: Webmail and phpmyadmin give 403 error

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,187
Location
Maastricht
And in the logfiles I see this:
/var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I do have mod_ruid2 running and did the complete process again.
Also I tried "build rewrite_confs" and "./user_permissions.sh all"

The /var/www/html directory is still using webapps:webapps:
-rw-r--r--. 1 webapps webapps 44 May 27 2013 index.html
lrwxrwxrwx 1 webapps webapps 46 Jul 31 03:38 phpMyAdmin -> /var/www/html/phpMyAdmin-3.5.8.2-all-languages
drwxr-xr-x 8 webapps webapps 4.0K Jul 31 03:38 phpMyAdmin-3.5.8.2-all-languages
-rwxr-xr-x. 1 webapps webapps 68 May 27 2013 redirect.php
lrwxrwxrwx 1 webapps webapps 19 Oct 23 03:38 roundcube -> roundcubemail-0.9.5
drwxr-xr-x 10 webapps webapps 4.0K Oct 23 03:38 roundcubemail-0.9.5

As are all subdirectory's in there.

I also checked this:
http://help.directadmin.com/item.php?id=363

but that did not fix anything.
http://ip.ad.dr.es/webmail is working without problems.

What can I do to fix this?
 
Last edited:
Fixed.
For some reason /var/www suddenly was set to webapps:apache, which was not that big a problem.
But the rights were set to chmod 550. Maybe the Mediacp (from Castcontrol) which I installed the day before yesterday set it to 550.
I changed it back to root and 755 again and all is working fine now.
 
I had the same issue... I don't think Mediacp was the cause of this because I don't have it installed.
 
Back
Top