1
1
1programmer2019-03-05 01:11:37
Apache HTTP Server
1programmer, 2019-03-05 01:11:37

Why doesn't DocumentRoot change in MacOs?

Hi all. I reinstalled apache2, now I can’t change the root directory, it’s always only on
/Libraries/WebServer/Documents/
I changed DocumentRoot everywhere and changed it in vhost, it still points there.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey, 2019-03-05
@Andrusha

And sudo apachectl -S shows what path?
How do you apply settings? Try to completely stop the service, make sure that there are no processes in the list of processes and start it again.

E
elbrus56, 2019-03-14
@elbrus56

What does sudo serveradmin settings web show

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question