I installed ubuntu server 12.04 and used windows 7 folder as shared folder using guestadditions. I can see the folder as sf__projects, so i symlinked it to var/www/_projects
But the issue is all folders have user root assigned to them. I tried so many options from different blogs but nothing works.
This is what I am getting on apache error log:
[Tue Jul 17 17:43:27 2012] [crit] [client 192.168.0.108] (13)Permission denied: /var/www/_projects/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
screenshot of folders: [
127.0.0.1 bab.local www.bab.local
<VirtualHost *:80> ServerAdmin email@example.com DocumentRoot "/var/www/_projects/bab/master" ServerName bab.local ServerAlias www.bab.local ErrorLog /var/www/_projects/bab/master/var/logs/apache_error.log CustomLog /var/www/_projects/bab/master/var/logs/access.log combined <Directory /var/www/_projects/bab/master/> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory>
my windows host file:
192.168.0.79 bab.local www.bab.local
when i try to access site through browser, i get:
You don't have permission to access / on this server.
I am exactly not sure why it's trying to access: var/www/_projects/.htaccess
NOTE: 192.168.0.79 is ubuntu's ip 192.168.0.108 windows ip
Has anyone experienced this and fixed it?