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

/home/user/Dropbox/Development/www/

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
</Directory>

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

2 Answers 2

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

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

Your Answer

 
discard

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.