pgib/virtualhost.sh — Issue #6: Suggestion: Rails style. 
Author: phstc
Created: 2011-11-10 13:53:59+00:00
State: open

Hello

First, thank you very much. This script is very useful! Keep up the good work. :D

I have a suggestion to give a possibility to the users to select the projects folder.

If I execute

/Users/pablo/workspace:~ virtualhost.sh mysite.local

The script will create a folder in

/Users/pablo/Sites/mysite.local

My suggestion

If I execute

/Users/pablo/workspace:~ virtualhost.sh mysite.local

The script will create a folder inside my current directory (/Users/pablo/workspace) if the folder doesn't exist and then points the Document Root to

DocumentRoot "/Users/pablo/workspace/mysite.local"

Cheers,
Pablo Cantero