The following may qualify as a minimum configuration... Have not tested it, 
though. I assumed you were using worker MPM.

In the config below, I believe the virtual host <VirtualHost *> can explain 
your problem. See it has DocumentRoot /var/www/html ??? I believe you meant 
this virtual host directive to read <VirtualHost *:80

Problem solved.

-ascs



ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300

StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75 
ThreadsPerChild     25
MaxRequestsPerChild  0

Listen 0.0.0.0:80

UseCanonicalName Off
DocumentRoot "/var/www/html"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
CustomLog logs/access_log combined

NameVirtualHost *:80

<VirtualHost *>
ServerName www.afrilibtest.net
DocumentRoot /var/www/html/
ErrorLog /var/rubyapps/testapp/log/apache.log

</VirtualHost>


<Virtualhost *:80>
  ServerName www.testsite.org
  DocumentRoot /var/www/html/testsite
</VirtualHost>

 

-----Original Message-----
From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 13, 2006 4:25 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Documentroot does not redirect...


Here is my HTTPD.CONF file, the VirtualHost is at the bottom.
(www.testsite.org)

I have compared it to a httpd.conf file on another server that runs fine and 
neither me nor my colleague can see any differences...

Thanks in advance for your assistance.
Mark

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to