Gnome .dmrc file permissions & Apache
May 29th, 2008So, the other day I restored a few files in my home directory to get this nag from Ubuntu when I logged in saying the .dmrc file did not have correct permissions.
I searched around and found if you set the /home/<username> folder permissions to 700, it would fix it, and it did!
But then I tried to bring up http://cobweb/ which apache tries to load /home/aubrey/Sites/cobweb
/etc/apache2/sites-enabled/000-default:
NameVirtualHost cobweb:80 <VirtualHost cobweb:80> ServerAdmin webmaster@localhost
DocumentRoot /home/aubrey/Sites/cobweb <Directory /home/aubrey/Sites/cobweb> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from 127.0.0.1 </Directory> </VirtualHost>
/etc/hosts:
127.0.0.1 cobweb
# The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 127.0.1.1 aubrey-laptop
So, after some tinkering, I found out the proper permissioin for the home folder is 701, and after that, apache loaded http://cobweb/ correctly.
Happy camping!

I have the same problem when booting up novell suse Linux.