I have some web roots in directories x,y,z, etc. in /var/www/
, some of them (not /var/www/
) are mounted with options rw,bind,uid=301,gid=301
(301 is uid of user www-data and gid of group www-data). This worked very well in default apache2
of saucy
, but no longer with upgraded version in trusty
. All permissions of all files and directories under /var/www/
are owned by www-data:www-data
. Changing all permissions to 777
(and restarting service) didn't help! I never changed any settings in /etc/...
or somewhere.
EDIT: I'm getting 404 error when I request under http://localhost:80/x
(error page suggests that apache is running: Apache/2.4.7 (Ubuntu) Server at localhost Port 80
). No substring error
or fatal
in /var/log/apache2/error.log
or /var/log/apache2/access.log
. netstat -tupln
shows that apache2 is running on port 80.
Any ideas?
EDIT 2: Now the pages are also broken with lighttpd (don't have any CSS layout and edit links are not shown in mediawiki (this has been a behavior caused by malious redirection of apache, but can no longer be fixed by requesting the page under different hostnames)). Apache behaves as described before