Simple apache question –
How do I escape the following folder name to allow apache to understand it?
NameVirtualHost *:80
<VirtualHost *:80>
ServerName calgary-ng-wrapper.lvh.me
DocumentRoot /Users/myname/workspaces/mysite/week-two-09232011 (branch)
<Directory "/Users/myname/workspaces/mysite/week-two-09232011 (branch)">
Order allow,deny
Allow from all
AllowOverride All
</Directory>
</VirtualHost>
I thought backslashes would work, but they seem not to.
EDIT to clarify question –
The problem is with this line –
DocumentRoot /Users/myname/workspaces/mysite/week-two-09232011 (branch)
I need apache to recognise the bracketes
You should also put the first occurance of the path within quotes: