Link to home
Start Free TrialLog in
Avatar of jimmylew52
jimmylew52Flag for United States of America

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/default
</VirtualHost>

<VirtualHost *:80>
      ServerName systrends.info
      ServerAlias www.systrends.info
      DocumentRoot C:/xampp/htdocs/drupal6/systrends
</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
Avatar of junipllc
junipllc
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jimmylew52

ASKER

error logs only say does not exist.

Changing this line and rebooting solved the problem.

DocumentRoot C:/xampp/htdocs/drupal

Thanks for responding