Ability to set a project root, separate to document root

Discussion around features, enhancements, or anything else MAMP & MAMP Pro users would like to see down the road.
Post Reply
mrnebbi
Posts: 2
Joined: Tue Oct 10, 2023 2:21 pm

Ability to set a project root, separate to document root

Post by mrnebbi »

I'd love to be able to use the MAMP snapshot features, but most of my projects store system files above the web root.

e.g.
  • project directory
    • config
    • vendor
    • public
I have to set the doc root to be the public folder, but this gives MAMP no visibility over the other files in the project folder. Snapshots would be amazing if I could set the project's directory and not just rely on the doc root.
mrnebbi
Posts: 2
Joined: Tue Oct 10, 2023 2:21 pm

Re: Ability to set a project root, separate to document root

Post by mrnebbi »

In a classic move I've discovered the solution to this AFTER posting. I can set the document root and then overwrite using Additional parameters for <VirtualHost> directive.

I still think a separate project root/document root option would be helpful though.
User avatar
WilliamIsted
Posts: 1
Joined: Thu Oct 12, 2023 1:29 pm

Re: Ability to set a project root, separate to document root

Post by WilliamIsted »

Yes please! Currently I'm updating my document root before making or restoring snapshots. I could change the vhost but I'd have to do it for each snapshot restore as I don't believe MAMP would modify it unprompted.
Post Reply