Page 1 of 1

Ability to set a project root, separate to document root

Posted: Tue Oct 10, 2023 2:27 pm
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.

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

Posted: Tue Oct 10, 2023 2:47 pm
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.

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

Posted: Thu Oct 12, 2023 1:35 pm
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.