We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

ramennoodles's avatar
ramennoodles
Helpful | Level 5
2 years ago

Permissions error after Mac migration / localhost

Hey everyone! The Dropbox app recently moved my Dropbox folder in to the Library and now my web development environment isn't working properly. Whenever I go to my 'localhost', I get error messages. 

 

The error messages I am receiving are:

- "Forbidden. You don't have permission to access / on this server."  (MAMP 5.3)

- "Forbidden. You don't have permission to access this resource. Server unable to read htaccess file, denying access to be safe." (MAMP 6.8)

 

My setup:

- I keep my development files on Dropbox

- I use MAMP as a PHP server

- Mac Ventura 13.3

 

Help! 

 

  • hey maxymouse, try changing the port setting in the MAMP preferences. I changed mine from 80 to 8080 and it's working?? Speculation: port 80 is being used by something else. Can you try this and see if it works on your end?

  • Megan's avatar
    Megan
    Icon for Dropbox Staff rankDropbox Staff

    Hi ramennoodles, welcome to our Community! 

     

    After this recent app change, does this error happen with all of your development files in Dropbox?

     

    Could you also attach some screenshots of the error, in order for me to have a visual too?

     

    Keep me posted, and we'll take it from there!

    • ramennoodles's avatar
      ramennoodles
      Helpful | Level 5

      Hey Megan, thanks for looking into this. I directly opened an HTML file from my Dropbox in my browser and it works. However, I can't access the same file through 'localhost'. In MAMP, you can set a default directory, so I've tried updating that to point to other folders with no success. 

       

      Looking again at my environment: Dropbox files (PHP) > MAMP > Safari browser. Perhaps there is something to going on with Dropbox + MAMP settings. 

      • Jay's avatar
        Jay
        Icon for Dropbox Staff rankDropbox Staff

        Hi ramennoodles. it's possible that MAMP doesn't support the new location, so I'd recommend contacting them for further support on this matter. 

  • maxymouse's avatar
    maxymouse
    Explorer | Level 4

    I use a tool called MAMP to view websites in development, which I keep in Dropbox, and I've always set the VirtualHost document root to this:

     

    /Users/maxymouse/Dropbox/

     

    That no longer works, so I've been trying other options, but nothing seems to work. E.g.

     

    /Library/CloudStorage/Dropbox/
    
    /Users/maxymouse/Library/CloudStorage/Dropbox/

     

    No matter what I do, trying to visit web pages in the browser gives "403 Forbidden: You don't have permission to access this resource."

    Am I getting the file path wrong, or are there some permissions I need to set, or is it just impossible to keep these files in Dropbox any more?

    Thanks for any help. (Using Mac Ventura 13.3.1)

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!