Apache 2.2 virtual hosts  gets internal error when accessing Drupal site

Posted on 2011-05-12
Medium Priority
Last Modified: 2012-08-14
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

NameVirtualHost *:80

<VirtualHost *:80>
      ServerName default
      DocumentRoot C:/xampp/htdocs/drupal6/default

<VirtualHost *:80>
      ServerName systrends.info
      ServerAlias www.systrends.info
      DocumentRoot C:/xampp/htdocs/drupal6/systrends

I change to this, and get access forbidden.

<VirtualHost *:80>
      ServerName default
      DocumentRoot /default

<VirtualHost *:80>
      ServerName systrends.info
      ServerAlias www.systrends.info
      DocumentRoot /systrends

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.
Question by:jimmylew52
LVL 12

Accepted Solution

junipllc earned 2000 total points
ID: 35751460
Do you have a general errorlog that you might be able to look at? If so, post the last 10 or so lines from that log here after you try each of the above (20 lines total) ... it could probably narrow down a bit of what you're going through.

I'm a Linux guy, but the Windows world's Apache works the same way -- just a few nuances. It could be a problem in your syntax, or it could be a problem with your environment. I'm just trying to rule out either one of them.



Author Comment

ID: 35758770
error logs only say does not exist.

Changing this line and rebooting solved the problem.

DocumentRoot C:/xampp/htdocs/drupal

Thanks for responding

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Loops Section Overview
Suggested Courses
Course of the Month17 days, 13 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question