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've just installed a fairly vanilla LAMP stack on 12.10 (via apt-get install mysql-server phpmyadmin) on my laptop for development purposes.

I've enabled mod_userdir and restarted Apache, but trying to access a url under http://localhost/~username/ just gives me 403 Forbidden. Accessing http://localhost works fine.

I've installed similar setups lots of times on previous Ubuntu versions, but never come across this problem. Do I need to do something special to allow access?

share|improve this question

The solution was to do sudo chmod 711 /home/username as explained in this thread at

share|improve this answer

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.