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/httpd.conf file :
[]
>
> User myusernamehere
> Group staff

It's usually not a good idea to have the HTTP server own (and be able
to write to) the files/directory it serves.

So you should probably make httpd run as its own User/Group, and make
the DocumentRoot (and below) owned by an administrative user (the one
able to update the content), giving only access/read rigths to the
httpd group (or user, usually as "others").

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