PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 18, 2022

[FIXED] MAMP Pro: Setting up a host with a network disk location

 February 18, 2022     apache, hosts, mamp     No comments   

Issue

So I love it that MAMP Pro makes it super easy to set up hosts and access logs and stuff. But I am now working at a location where all of the local copies of websites are on a shared server, e.g. /Volumes/Server/Websites/MyAwesomeWebsite.

Unfortunately, when I try to select a folder on the server, all the folders are greyed out. And when I type the path in manually and restart Apache, I get the message:

"Some hosts have an invalid disk location. These hosts won't be reachable if you start Apache now."

There's really no point in using MAMP Pro if I can't set hosts up on the shared server... any ideas? Or am I gonna have to stop being lazy and edit the virtual hosts by hand from now on?


Solution

I was unable to get it to work, so I rolled back from MAMP Pro to MAMP and started editing the virtual host files by hand. It's actually not bad at all, I put a shortcut in my dock that launches both files in BBEdit, so adding new virtual hosts is still quick and easy.



Answered By - elainevdw
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing