jimmylew52
asked on
Apache 2.2 virtual hosts gets internal error when accessing Drupal site
I have drupal 6.2 setup on a windows machine. when I configure the httpd-vhosts.conf file as follows I get and internal error problem:
<Directory C:/xampp\htdocs/drupal6>
Order Deny,Allow
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName default
DocumentRoot C:/xampp/htdocs/drupal6/de fault
</VirtualHost>
<VirtualHost *:80>
ServerName systrends.info
ServerAlias www.systrends.info
DocumentRoot C:/xampp/htdocs/drupal6/sy strends
</VirtualHost>
I change to this, and get access forbidden.
<VirtualHost *:80>
ServerName default
DocumentRoot /default
</VirtualHost>
<VirtualHost *:80>
ServerName systrends.info
ServerAlias www.systrends.info
DocumentRoot /systrends
</VirtualHost>
Any clues as to what I should do? If I take out the virtual host Drupal goes to the default folder to set up the files with out a problem. I need to run two websites from this installation.
<Directory C:/xampp\htdocs/drupal6>
Order Deny,Allow
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName default
DocumentRoot C:/xampp/htdocs/drupal6/de
</VirtualHost>
<VirtualHost *:80>
ServerName systrends.info
ServerAlias www.systrends.info
DocumentRoot C:/xampp/htdocs/drupal6/sy
</VirtualHost>
I change to this, and get access forbidden.
<VirtualHost *:80>
ServerName default
DocumentRoot /default
</VirtualHost>
<VirtualHost *:80>
ServerName systrends.info
ServerAlias www.systrends.info
DocumentRoot /systrends
</VirtualHost>
Any clues as to what I should do? If I take out the virtual host Drupal goes to the default folder to set up the files with out a problem. I need to run two websites from this installation.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Changing this line and rebooting solved the problem.
DocumentRoot C:/xampp/htdocs/drupal
Thanks for responding