Я прописал в httpd-vhosts:
- Код: Выделить всё • Развернуть
<VirtualHost *:80>
ServerAdmin webmaster@site.vfose.ru
DocumentRoot C:\xampp\www\site.vfose.ru
ServerName site.vfose.ru
ErrorLog C:\xampp\www\site.vfose.ru\error.log
CustomLog C:\xampp\www\site.vfose.ru\access.log common
</VirtualHost>
Создал папки и т.д. Расскоментировал
- Код: Выделить всё • Развернуть
##NameVirtualHost *:80
. Перезапускаю апач. Захожу по
http://localhost:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
05/30/09 10:24:50
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9
Захожу по site.vfose.ru - тоже самое. (Индексный файл есть в папке с простым содержимым php-кода:
- Код: Выделить всё • Развернуть
<? echo"test page"; ?>
)
После того, как
комментирую те строки, которые прописал в httpd-vhosts, перезапускаю апач - все работает.(но хост то
закомментирован)
Что может быть?