Moving the users "Sites" folder to different volume


hello all,

wondering there way change location of username/sites folder different volume? i've tried doing editing /etc/apache2/users/username.conf file , changing directory string different volume
code:
  <directory "/users/myname/sites/"> <directory "volumes/sites">
with no luck. still forbidden message. did change ownership suggested this document apple.

can help? i'm not getting anywhere searches on topic.
 

you forgot leading /. "volumes/sites" refers relative path, namely
"/users/myname/sites/volumes/sites".

why want move folder? might better off creating sym link folder. in /users/myname create sym link follows...
cd /users/myname
mv sites notsites
ln -s /volumes/sites sites

have sym link pointing /volumes/sites. not work unless apache config or .htacess contains following...

options followsymlinks
 


Forums Macs macOS macOS


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Mail will not Quit when shutting down

MacBook Air 2011 Reviews

What's the max amount of RAM an iMac can have to run BootCamp & Parallels Windows 7?