Имя: Пароль:
IT
Веб-мастеринг
apache настройка vhosts
0 mxs089
 
20.04.17
15:42
привет, поставил апач, страницу для localhost сделал, не получается сделать страницу для localhost_test

Bad Request

Your browser sent a request that this server could not understand.

Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.

подключил в настройках httpd-vhosts, там прописал
<virtualhost *:80>
documentroot
servername localhost_test
errorlog
customlog common
</virtualhost>

в файле host прописал
127.0.0.1 localhost_test

что еще нужно сделать?
1 Юрий Лазаренко
 
20.04.17
17:13
(0) А что такое localhost_test?
2 Вафель
 
20.04.17
17:15
посмотри как в денвере вирт хосты определяются