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

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

 



I made some tests just to confirm what I already knew, but was not able to reproduce the behaviour you describe.
 
Could you manage to reproduce the problem with a minimal configuration (one or two VH only and just the strict minimum set of directives) and post it ?
 
-ascs

________________________________

From: Mark Van Crombrugge [mailto:mark.vancrombrugge@xxxxxxx] 
Sent: Thursday, April 13, 2006 12:20 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] Documentroot does not redirect...


When I put the file "index.htm" in my DocumentRoot (/var/www/html) it displays in my browser.
When I put that file in "/var/www/html/website" and add the following to httpd.conf:
 
NameVirtualHost *:80
<Virtualhost *:80>
Documentroot /var/www/html/website
ServerName www.website.org
</Virtualhost>
 
When I enter www.website.org in my browser, I still get the 'index.htm' file in the documentroot and not the one in documentroot/website.
 
Can anyone assist?
I have been working on this for a whole day and so have 2 of my colleagues...
 
Mark
Belgium

---------------------------------------------------------------------
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