CodeIgniter Forums
Ubuntu 12.10 403 Forbidden error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Ubuntu 12.10 403 Forbidden error (/showthread.php?tid=58119)



Ubuntu 12.10 403 Forbidden error - El Forum - 05-17-2013

[eluser]jairoh_[/eluser]
Code:
Forbidden

You don't have permission to access /ci/ on this server.
Apache/2.2.22 (Ubuntu) Server at 127.0.0.1 Port 80
why if i use use CI project on my ubuntu and put it on my xampp /www folder it displays that error if i open
127.0.0.1/ci_project
but if i use only an html file like 127.0.0.1/jairoh.html it will work. does anyone knows how to fix this? tnx



Ubuntu 12.10 403 Forbidden error - El Forum - 05-18-2013

[eluser]pickupman[/eluser]
I would guess that you copied/created the file inside of your webroot folder. That would mean only you as a user have access to that subfolder, and not the Apache user.

You would need to chown the user for Apache to that subfolder something like this:
Code:
sudo chown -R www-data:www-data /var/www



Ubuntu 12.10 403 Forbidden error - El Forum - 05-21-2013

[eluser]jairoh_[/eluser]
solved this one. thanks