Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have used VirtualHost to set the root document of my domain into my user's home directory. If I login the user, the webpage could be displayed in the navigator. However, if the corresponding user hasn't signed in on the server, the webpage cannot be visited, and the error 403 will be returned. If I sign in using the user account by SSH or the other method, the webpage is accessible again. Could anyone give me a solution? Because, of course we need to visit the webpage when my user account isn't signed in.

share|improve this question
Possible duplicate of 403 Forbidden Error when accessing enabled virtual host –  Martin Schröder Feb 1 '13 at 23:17
Does the user have an encrypted $HOME directory? Encrypted $HOME directories are not decrypted and mounted when the user is not logged in. –  waltinator Feb 2 '13 at 1:46
add comment

Your Answer


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

Browse other questions tagged or ask your own question.