Re: Unable to set up virtual hosts on Mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 21, 2016 at 1:31 PM, Roparzh Hemon <roparzhhemon@xxxxxxxxx> wrote:
>
> Contents of /private/etc/apache2/extra/httpd-vhosts.conf file :
[]
>
> <VirtualHost *:80>
>     ServerName strawberry.com
>     ServerAlias www.strawberry.com
>     DocumentRoot "/Users/myusernamehere/Sites/strawberry"
>     ErrorLog "/private/var/log/apache2/strawberry.com-error_log"
>     CustomLog "/private/var/log/apache2/strawberry.com-access_log" common
>     ServerAdmin web@xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Here you probably need something like:

    <Directory /Users/myusernamehere/Sites/strawberry/>
        Require all granted
        DirectoryIndex index.html
    </Directory>

> </VirtualHost>

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux