Вопрос

I've changed my DocumentRoot and Directory to both point to D:/Docs/Websites/projectname in the httpd.conf file, but every time I go to localhost/index.php, it's like XAMPP doesn't even register that I've changed anything and redirects to localhost/XAMPP.

I've searched for about an hour with no luck, is it possible to have your working directory on another drive?

Это было полезно?

Решение

Solved. Just forgot that you need to restart Apache after editing the httpd.conf file. Hope this helps anyone else.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top