Hello.
I am sorry to be bothering you all with this, but I seem to have come across a small issue while installing my test server. I am running Windows Server 2003, with Apache 2.2, PHP 5, and MYSQL 5.1. While trying to configure all of this, I have found myself unable to restart Apache. I am given an error stating:
Code:
Syntax error on line 23 of C:/Server/Web/Apache/conf/extra/httpd-vhosts.conf:
DocumentRoot must be a directory
My httpd-vhosts.conf file is as such:
Code:
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
# —————————————–
#localhost
<VirtualHost *:80>
DocumentRoot “C:/Server/Web/htdocs”
ServerName localhost
<Directory “C:/Server/Web/htdocs”>
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# —————————————–
#phpmyadmin.local
<VirtualHost *:80>
DocumentRoot “C:/Server/Web/htdocs/Admin/phpMyAdmin-3.3.2-english”
ServerName phpmyadmin.local
<Directory “C:/Server/Web/htdocs/Admin/phpMyAdmin-3.3.2-english”>
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# —————————————–
I have also verified that the directory(copied and pasted here from Windows Explorer) C:\Server\Web\htdocs exists.
I am unsure, at this point, how this issue would be solved. Any help would be greatly appreciated.
Thank you,
Nicolai Guarino.
Last edited by keineseele; 05-10-2010 at 07:15 PM..
|