apache permissions problem
Posted
by
nishan
on Ask Ubuntu
See other posts from Ask Ubuntu
or by nishan
Published on 2012-06-23T11:15:52Z
Indexed on
2012/06/23
15:23 UTC
Read the original article
Hit count: 376
Im running ubuntu 12.04 lts
2gb ram 500gb hdd.
My hdd have 4 partitions.
Partition 1 = 40 gb Windows (NTFS, lable = win32)
Partition 2 = 320 gb Windows (FAT label = common)
Partition 3 = 40 gb Ubuntu (EXT4)
I installed apached2 now to change its default www directory, I used 'gksu gedit /etc/apache2/sites-enabled/000-default' and chaged to /media/common/www After all I run in terminal chmod 777 /media/common/www chmod 777 /media/common/www/.
After that I type in firefox 127.0.0.1/index.php It says "Forbidden You don't have permission to access / on this server. Apache/2.2.22 (Ubuntu) Server at 127.0.0.1 Port 80" Before my changes it was working fine. How should i run my websites???
© Ask Ubuntu or respective owner