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 installed the LAMP on my Ubuntu 12.10. All are working correctly.

But I want to create a alias like phpmyadmin

I have created the folder root


And added the following lines in my apache2.conf file

Alias /dropbox " /home/user/Dropbox/Development/www/"
<Directory " /home/user/Dropbox/Development/www/">
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from all

When I access it like localhost/dropbox, I received 403 Error Message. Permission Not Denaid. How can I fix this easily

share|improve this question

3 Answers 3

Did you restart the server afterwards?

sudo service apache2 restart

Check this out too on Ubuntu forums. It looks like a similar problem to yours and is easily fixed.

share|improve this answer
I did that. But not working even i restarted the pc –  Mifas Nov 26 '12 at 5:28

Is /home/user/Dropbox/Development/www/ accessible to the www-data user? To find out for sure, drop to a Terminal, sudo -u www-data -s to become the www-data user, and cd /home/user/Dropbox/Development/www/. If you can't get to the directory as www-data, neither can Apache. exit to become root again, and chmod and/or chown your way out of the problem as necessary.

share|improve this answer

If you include a trailing to the end of tour URL path, put one at the end of your alias name too (so this trailing will be required in the URL).

Restart apache2

You surelly have to change the owner group of your new directory to www-data :

sudo chown -R yourname:www-data /home/user/Dropbox/Development/www

And change file permissions like this :

sudo chmod -R 775 /home/user/Dropbox/Development/www

...just learned...

Add this into your Directory section :

Require all granted

And now it works for me.

Hope this will help.

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.