F5F Stay Refreshed Software Operating Systems The localhost is not responding.

The localhost is not responding.

The localhost is not responding.

Pages (2): Previous 1 2
D
D4niels0n
Junior Member
17
08-03-2023, 08:19 PM
#11
Understand how permissions function and apply them correctly—they are there to safeguard you. Maintain Apache running under the www user, designate a folder as the webroot, alter the owner and group of that folder to www:www, and set its access rights to 640. Ensure every file inside is also owned by www:www with 640 permissions. This setup stops web users from gaining full access to your filesystem, which would be extremely dangerous.
D
D4niels0n
08-03-2023, 08:19 PM #11

Understand how permissions function and apply them correctly—they are there to safeguard you. Maintain Apache running under the www user, designate a folder as the webroot, alter the owner and group of that folder to www:www, and set its access rights to 640. Ensure every file inside is also owned by www:www with 640 permissions. This setup stops web users from gaining full access to your filesystem, which would be extremely dangerous.

D
Doyson
Member
72
08-05-2023, 02:55 PM
#12
yup everything is as it was before now.I restored it. I haven't changed any permissions for these folders nor do I know what 660 means. I don't want to deal with linux style permission changing, I am sure the default configuration of macOS is fine. I changed back the user to www and the folder to the default for apache so it's all good. Also it's a local server so doesn't this mean nobody else has access?
D
Doyson
08-05-2023, 02:55 PM #12

yup everything is as it was before now.I restored it. I haven't changed any permissions for these folders nor do I know what 660 means. I don't want to deal with linux style permission changing, I am sure the default configuration of macOS is fine. I changed back the user to www and the folder to the default for apache so it's all good. Also it's a local server so doesn't this mean nobody else has access?

Pages (2): Previous 1 2