A
A
Alexander Ampleev2016-10-19 08:01:17
xampp
Alexander Ampleev, 2016-10-19 08:01:17

XAMPP for mac OS, where to set the path to the site folder?

I am using XAMPP for macOS. I need to somehow configure it so that instead of the index.php file in the directory, a directory is opened that is defined and it already has index.php in it. For example, there is a path: /Applications/XAMPP/xamppfiles/htdocs/project In this directory there is an index.php(A) file and a www directory and in this www directory there is another index.php(B). So I need to set up index.php(B) instead of index.php(A) and at the same time the user does not have access to anything that is not in the www folder.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
display: block, 2016-10-19
@Ampleev

Set up your virtual host. Specify DocumentRoot with the directory www
jonathannicol.com/blog/2012/03/11/configuring-virt...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question