M
M
Martovitskiy2019-10-01 11:03:29
linux
Martovitskiy, 2019-10-01 11:03:29

How to set up apache on centos7?

By default, apache opens the site /var/www/html
, I need to change the behavior and open /home/sybase/
in /etc/httpd/conf/httpd.conf I write

<Directory "/home/ha261287mev1/vipoc">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

but that doesn't help. Also opens /var/www/html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
taliano, 2019-10-01
@taliano

You need to register DocumentRoot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question