RE: [users@httpd] Documentroot does not redirect...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx] 
Sent: Thursday, April 13, 2006 4:25 PM
To: users@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux