Reputation: 2119
I found /etc/apache2/ , but there is not the folder: sites-available
I need do that config:
In your "apache2/sites-available/" directory edit default as below
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
XSendFilePath /
</Directory>
How can I resolve that on Mac OS yosemite?
Upvotes: 2
Views: 3323
Reputation: 1655
You can add this configuration directly to /etc/apache2/httpd.conf
.
If you need sites-available
directory, you can make it under /etc/apache2/
and then add Include /etc/apache2/sites-available/*
directive to your httpd.conf
.
Upvotes: 1