P
P
Philip Polikarenkov2017-08-03 09:35:14
Apache HTTP Server
Philip Polikarenkov, 2017-08-03 09:35:14

How to change apache root directory in cloud9.io?

I can't understand - how do I change the root directory for apache in cloud9.io.
By default, there is a workspace.
found the answer on google but can't figure out how to apply it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2017-08-03
@Vilibb

nano /etc/apache2/sites-enabled/your-site
find the line DocumenRroot change
ctrl
+x
y
enter
service apache2 restart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question