httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
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.

-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:mark.vancrombrugge@vliz.be] 
Sent: Thursday, April 13, 2006 4:25 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message