httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <>
Subject RE: [users@httpd] Documentroot does not redirect...
Date Thu, 13 Apr 2006 14:59:20 GMT
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.


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

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


UseCanonicalName Off
DocumentRoot "/var/www/html"

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

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

NameVirtualHost *:80

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


<Virtualhost *:80>
  DocumentRoot /var/www/html/testsite


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

Here is my HTTPD.CONF file, the VirtualHost is at the bottom.

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.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message