Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have no idea why this installation is giving me this problem but for some reason my lamp installation will not show the Codeigniter welcome page. At first I was getting:

403 forbidden

So I changed the permissions of the /var/www/ folder but now I get:

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while
the server was attempting to fulfil the request.

I had everything working fine before I upgraded to 12.04 but since then, everything has fallen apart. I want the /var/www/ folder set up in a way that I can install several folders with different frameworks and content management systems for my different projects.

I just need a little help getting this server issue worked out.

share|improve this question

Try to change your permission to 755

$ sudo chmod -R 755 /var/www/CodeIgniterInstallFolder/

If nothing happens, try to look on your server log.

$ sudo gedit /var/log/apache2/error.log
share|improve this answer
worked like a charm. thanks again... – kreshendo May 7 '12 at 17:36
@kreshendo don't forget to mark an answer as accepted if it solved the issue. – Thomas Ward Sep 13 '13 at 15:13

Your server is probably not able to access the files required.
Just change the permissions on your application.
use these commands
sudo chmod 777 -R /var/www/project
sudo chmod 777 -R /var/www/project/application
simply go to the path /var/www/project
right click > properties > permissions
and set the permissions on folders as well as files.
I hope it will help.

share|improve this answer
As dimis has asked: "How do I do that?" I recommend expanding this answer to explain this. – Eliah Kagan Aug 18 '12 at 1:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.